mailer to setting for dev and prod