Using app settings for email configs rather than constants.