Gravar-mail: Extinctions in Heterogeneous Environments and the Evolution of Modularity