fix mailer setting