helper functions for latest mail