changes to mailer