Why does Mail app contact iCloud when sending a non-iCloud email?

✨ Check out this awesome post from Hacker News πŸ“–

πŸ“‚ **Category**:

βœ… **What You’ll Learn**:



Why does Mail app contact iCloud when sending a non-iCloud email?

Jeff Johnson (My apps, PayPal.Me, Mastodon)

August 3 2026

I use iCloud only for testing the iCloud sync feature of my App Store apps. As I mentioned in my recent blog post Apple account email address disclosure via Mail app, I don’t have an iCloud email account. As you can see in my screenshots below, iCloud is disabled in System Settings for all uses of Mail.

iCloud: Mail Setup
iCloud Mail: Sync this Mac disabled
Saved to iCloud: iCloud Mail Off
Saved to iCloud: Mail disabled

Nonetheless, when I send an email in Mail app, from a non-iCloud account to an non-iCloud account, Mail immediately triggers an iCloud connection, as revealed by Little Snitch. In testing, I’ve reproduced this behavior repeatedly.

cloudd wants to connect to gateway.icloud.com on UDP port 443 (quic)
nsurlsessiond wants to connect to gateway.icloud.com on TCP port 443 (https)
cloudd wants to connect to gateway.icloud.com on TCP port 443 (https)
nsurlsessiond wants to connect to gateway.icloud.com on UDP port 443 (quic)

The cloudd process attempts to connect to the URL https://gateway.icloud.com:443/ckdatabase/api/client/query/retrieve, and the nsurlsessiond process attempts to connect to the URL https://gateway.icloud.com:443/ckdatabase/api/client/record/save, over both TCP and UDP, likely falling back to the alternate protocol when I block the first connection attempt.

Unfortunately, I haven’t been able to analyze the connection details with Proxyman, because iCloud uses certificate pinning, so Proxyman can’t decrypt the packets. In my testing, a network extension doesn’t get access to unencrypted data either. Thus, I don’t know the answer to the question posed by the title of this blog post: Why does Mail app contact iCloud when sending a non-iCloud email?

What could Mail be querying and saving in CloudKit when I’ve disabled Mail in iCloud? Why does Apple need to know when I’m sending emails?

I’ve decided to create Little Snitch rules to block cloudd and nsurlsessiond from connecting to gateway.icloud.com, and I’ll temporarily disable the rules if and when I need to test iCloud sync for software development purposes.

Jeff Johnson (My apps, PayPal.Me, Mastodon)

⚑ **What’s your take?**
Share your thoughts in the comments below!

#️⃣ **#Mail #app #contact #iCloud #sending #noniCloud #email**

πŸ•’ **Posted on**: 1785773267

🌟 **Want more?** Click here for more info! 🌟

By

Leave a Reply

Your email address will not be published. Required fields are marked *