Email deliverability configuration for email notifications and Workflow
Zuora allows you to email invoices and send a variety of customer notifications from within the Zuora Billing application and Workflow to your end customers.
When using the Zuora mail delivery system with a From address of your own domain, you need to specifically authorize the Zuora mail systems to send on the behalf of your domain. Otherwise, some emails might not reach their intended recipients, potentially due to spam and junk filters seeing the emails as phishing.
This can greatly impact your company's ability to collect payment. Customers who do not receive their invoices may not pay their invoices on time, and customers who do not receive notifications regarding their expiring credit cannot provide updated card information.
Solution
Zuora provides two ways to send emails: Email notification and Workflow.
To ensure your emails reach the intended recipients, you should take one of the following approaches based on which feature and email server type you use:
-
Sending emails with Email notification:
-
Configure Advanced SMTP server
-
Configure External SMTP server
-
Configure Zuora default email server
-
-
Sending emails with Workflow:
-
Configure Amazon SES email settings for Workflow
-
Configure External SMTP server for Workflow
-
Advanced SMTP and Workflow email are separate email-sending paths. Although both paths can use Amazon SES, configuring Advanced SMTP does not configure Workflow email. Configure the settings described in the Workflow section when you use the Notification: Email task in Workflow.
Configure an Advanced SMTP server
The Advanced SMTP solution in Zuora is a no-cost option to sending email securely, globally, and at scale. Powered by Amazon's Simple Email Service (SES) that has pre-integrated with Zuora, the Advanced SMTP server is a great solution requiring no partnership or integration work from your side.
All emails sent through Advanced SMTP server are authenticated using DomainKeys Identified Mail (DKIM) authentication mechanism. Authentication is one method to build trust with email providers and can validate legitimacy of emails. When authenticating an email, you must provide evidence that you are the owner of the account and your emails have not been modified in transit.
Meanwhile, Advanced SMTP complies with Domain-based Message Authentication, Reporting and Conformance (DMARC). DMARC is an email authentication protocol that uses DomainKeys Identified Mail (DKIM) to detect email spoofing, which serves as an additional step to ensure that your emails are identified as trusted by the email providers of your customers.
To prevent your emails from being blocked or sent to spam or junk filters, add the generated CNAME records to your domain's DNS records.
You can leverage the Amazon SES mailbox simulator to test different scenarios, such as email bounces or complaints, without bringing any negative impact on your company. See Mailbox simulator for the Amazon Simple Email Service for more information.
For more information about enabling Advanced SMTP, configuring SPF records, and testing email bounces and complaints, see Advanced SMTP server.
Configure the Zuora default email server
For Zuora's default email server, ensure that you publish your SPF record in DNS records of type TXT under your domain name (yourcompanyname.com). The terminology used herein is from a DNS context.
An SPF example to authorize Zuora's email server host is as follows:
v=spf1 mx a:zgateway.zuora.com -all
In this example, the only hosts authorized to send emails claiming to be from your domain are Zuora's outbound email servers and the ones listed in your MX records. You can check the status of your SPF records using an online tool such as MX Toolbox's Supertool.
Configure an external SMTP server
You can set up an external SMTP server in Zuora and configure either or both of SPF and DKIM records to send notification emails through your own server or a third-party vendor such as SendGrid.
To configure an external SMTP server in Zuora, see Configure external SMTP server for more information. If you use a third-party SMTP server, you can reach out to the vendor to get the setting details. SendGrid's integration documentation is provided as an example.
When using SMTP servers of your own or some third-party vendors, you might need to whitelist Zuora's IP addresses to ensure notification emails generated in Zuora are not blocked. For most third-party vendors, such as SendGrid, you do not need to whitelist any IP address. For a list of IP addresses of different Zuora environments, see Inbound and outbound IP addresses.
Configure Amazon SES email settings for Workflow
Zuora Workflow uses Amazon SES to send email. The default From address is workflow@zuora.com, and Zuora has validated this address in Amazon SES. You do not need to configure a sender identity in your tenant when you use the default From address.
To use an email address from your own domain as the From address:
-
Submit a request to Zuora Global Support to add the address to the Workflow app instance.
-
Request the three DNS CNAME records required for DKIM verification.
-
After you receive them, add the three CNAME records to the DNS configuration for the sender domain.
-
Also add
include:amazonses.comto the SPF record for the domain or subdomain used in the From address. This authorizes Amazon SES to send email on your behalf. -
Wait for DNS propagation and domain verification. Verification may take up to 72 hours.
-
Use the custom From address in the Workflow email task after verification succeeds.
The CNAME records are associated with the verified domain and apply to Workflow email across the supported Zuora environments. You do not need a new set of CNAME records for each environment. For more information, see Email notifications in Workflow.
Verify the correct domain or subdomain
Verify the domain or subdomain used by the From address. For example, if you use `noreply@billing.example.com`, add the DKIM CNAME records for `billing.example.com` and verify that subdomain.
Verifying a subdomain does not also verify its parent domain. If you need to send email from both `noreply@billing.example.com` and `noreply@example.com`, verify `billing.example.com` and `example.com` as required.
A Workflow email task can complete successfully even when the recipient mail server later rejects the message. Receiving mail servers can reject unauthenticated or misaligned messages because of SPF, DKIM, DMARC, or other sender-authentication policies.
Recipients may see `via amazonses.com` in the message display when Amazon SES sends the email. This display is associated with the Amazon SES sending path and does not indicate that Advanced SMTP is configured.
For task settings and the relationship between the From address, Return Path, and Workflow email delivery, see Notifications: Email.
If a Workflow email task succeeds but the recipient does not receive the message, confirm that:
-
The sender identity is verified.
-
All three DKIM CNAME records are published.
-
The SPF record includes `include:amazonses.com`.
If the message is still rejected, review the recipient mail server's bounce or rejection details for SPF, DKIM, and DMARC results.
Configure an external SMTP server for Workflow
As an alternative to Amazon SES, you can leverage an external SMTP server to send notification emails in Workflow. Workflow external SMTP supports both basic authentication and OAuth. If you use Microsoft SMTP with OAuth, register the Zuora application in Microsoft Entra and generate the OAuth credentials that you configure in Workflow.
For more information about how to set up an external SMTP server for Workflow, see Use an external SMTP server.