setting up mailer config