Gravar-mail: Representing Documents via Latent Keyphrase Inference