Moved the email setup to the hms.settings file