update syntax for mailer