Set up mailer config for dev and prod environments