Gravar-mail: The Generating Function Approach for Peptide Identification in Spectral Networks