Gravar-mail: Modeling and analysis of epidemic spreading on community networks with heterogeneity