add setup_mailer in config