mailer layout fix