Added mail formatter class for converting the mail to an easy to read format