updates the mailer formatting