CLOUD-179 email sender function