Added mail function for mailing usage

Added mail function for mailing usage