fix mailer configuration