Gravar-mail: Stochastic blockmodels with a growing number of classes