modifications to mailer 3