How to set up email delivery to Apple’s Private Relay?

Here is what you need to do to be able to reach users who signed up using the "Sign in with Apple" feature.

About “Sign in with Apple”

Since iOS 13, the “Sign in with Apple” feature allows developers to offer a new single sign-on (SSO) option. Just like Google / Facebook SSO, it allows users to create an account that will be tied to their Apple ID. Developers must include that option in their app if the app already offers other third-party SSO solutions.

Inscription via apple private relay.

When logging in, users can choose to:

  1. Share their email address (e.g. firstname@domain.com).

  2. Or to hide it using the “Hide My Email” feature. That feature relies on Apple's private email relay service. It creates a unique, random email address that forwards emails to the users’ personal email address. Here is an example:

Sending an Email to an Address Behind Apple’s Private Relay

Whether users decide to share their email addresses with the service or not, an additional setup is required to deliver emails to these email addresses.

You will need to declare to Apple the subdomain you are using, so Apple can whitelist it when forwarding the emails to the users.

To do so, you need to take the following steps:

1

Go to the Apple Developer console, click “Certificates” and then go to “Services” in the left panel.

2

Click “Configure” in the “Sign in with Apple for Email Communication” block.

3

Then, click “+”, type the list of bounce subdomains set up with Batch and save.

  • Strict alignment setup (default): Type your subdomain name (e.g. subdomain.domain.com):

Apple's Private Relay setup for strict alignement
  • Relaxed alignment setup: In this case, SPF is evaluated on the bounce subdomain. Type your bounce subdomain name (e.g. bounce.subdomain.domain.com).

Apple's Private Relay setup for relaxed alignement
4

From the subdomain list, click “(Re)Verify SPF” if it is not already green.

5

If the SPF is validated, send a test to an email address tied to an Apple account from the Batch dashboard:

Last updated

Was this helpful?