added development email functionality with production easily added