mailer formatting