fix mailer initializer