implemented gem files for handeling emailing in both dev and production