Fix mailer configuration