fix mailer syntax