adjusted setup_mail to include production