Updated email sending to work with SendGrid on AzureWebsites