> For the complete documentation index, see [llms.txt](https://doc.batch.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.batch.com/guides-and-best-practices/email-deliverability/email-authentication-and-sending-structure/sending-subdomain-setup-and-troubleshooting/how-to-set-up-email-delivery-to-apples-private-relay.md).

# Setting 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” <a href="#h_79b4714366" id="h_79b4714366"></a>

Since iOS 13, the “[Sign in with Apple](https://support.apple.com/en-gb/HT210318)” 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.

<div align="center"><figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FBVRDvnlIK6NAeMyKU3JN%2FtechnicalGuides_appliPrivateRelay_05052025.jpeg?alt=media&amp;token=66edec9c-428c-438a-9fa9-7193e96a5e4c" alt="Inscription via apple private relay."><figcaption></figcaption></figure></div>

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 <a href="#h_95978d885f" id="h_95978d885f"></a>

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:

{% stepper %}
{% step %}
Go to the [Apple Developer console](https://developer.apple.com/account/), click “Certificates” and then go to “Services” in the left panel.

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FK1HcNsi4fp9EoJpwLMGo%2FtechnicalGuides_sendingEmailApplePrivateRelay_05052025.png?alt=media&amp;token=d6213373-b381-46ce-9f39-4f4f4792b18d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click “Configure” in the “Sign in with Apple for Email Communication” block.

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FIEpaWPAsE7RhFaTHftcY%2FtechnicalGuides_applePrivateRelayInscription_05052025.png?alt=media&amp;token=76a744df-b688-48cd-bbac-b3614ff9ce8d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
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`):

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FdYrd9DyNgja8HbMKkk81%2Fdeliverability_privaterelaystrict_070725.png?alt=media&amp;token=0631d25e-a8de-4f90-8b51-51394e86c7f6" alt="Apple&#x27;s Private Relay setup for strict alignement"><figcaption></figcaption></figure>

* **Relaxed alignment setup**: In this case, SPF is evaluated on the bounce subdomain. Type your bounce subdomain name (e.g. `bounce.subdomain.domain.com`).

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2F5qOvABLrNu8yiw8yr3Mr%2Fdeliverability_deliverability_privaterelayrelaxed_070725_070725.png?alt=media&amp;token=1aac7ef7-128d-43fa-b1db-91454b6531cc" alt="Apple&#x27;s Private Relay setup for relaxed alignement"><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2F12TLT4dfBHiYiCqlBOiq%2FtechnicalGuide_applePrivateRelaySparkpost2_05052025.png?alt=media&amp;token=f93e7947-4f04-4fe4-9e33-fd8c0c1986cb" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2Fb8EkFuklhTmYNz5HPrbA%2FtechnicalGuide_applePrivateRelaySendTest.png?alt=media&amp;token=6b74414e-194c-4070-957c-a0a8e5bf7e1e" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.batch.com/guides-and-best-practices/email-deliverability/email-authentication-and-sending-structure/sending-subdomain-setup-and-troubleshooting/how-to-set-up-email-delivery-to-apples-private-relay.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
