Gravar-mail: Reconstructing contact network parameters from viral phylogenies