Give your AI agent a real iCloud inbox in minutes. Read, search, send, reply, schedule and organize mail with an Apple app-specific password, and use the same inbox in every MCP client, not just one.
Apple does not offer OAuth for iCloud Mail, so Claude cannot connect to it directly. mcpemails connects your iCloud inbox over IMAP using an Apple app-specific password, which lets Claude, Cursor or any MCP client read, search, send and organize that mail. Setup takes about two minutes and one inbox is free.
iCloud Mail connects over IMAP/SMTP using an Apple app-specific password. Generate one at account.apple.com under Sign-In and Security → App-Specific Passwords (two-factor authentication required), then paste it into mcpemails with your iCloud address.
Copy these into the connect form. mcpemails prefills them where it can, and retries the other standard transport if the first does not answer.
| Protocol | Server | Port | Security |
|---|---|---|---|
| IMAP (incoming) | imap.mail.me.com | 993 | TLS (implicit) |
| SMTP (outgoing) | smtp.mail.me.com | 587 | STARTTLS |
Verified 2026-08-31: imap.mail.me.com answered a TLS connection and identified itself as an IMAP server under that name. It advertises ATOKEN, ATOKEN2, PLAIN, XOAUTH2 authentication.
Sign in with: Apple documents the username as the name part of your iCloud address, johnappleseed rather than johnappleseed@icloud.com. If that is refused, use the complete address.
Seventeen action-based MCP tools: send, reply, forward, schedule, and organize. Your agent finishes the job inside iCloud Mail.
List, read and search across folders to find that invoice, summarize a thread, or pull the latest from a sender.
Compose and send real messages, reply in-thread, and forward, directly from your mailbox, not as a draft you finish by hand.
Queue a message to go out at the right time, so your agent can draft now and send on schedule.
Keep the inbox tidy: file mail into folders, flag what matters, archive the rest, or delete on request.
From sign-up to first AI email in a couple of minutes.
Sign up for mcpemails, no card required. The free plan connects one inbox, forever.
At account.apple.com, go to Sign-In and Security → App-Specific Passwords and create one (two-factor authentication must be on).
Add your iCloud address and the app-specific password to connect the inbox securely.
Drop https://mcpemails.com/api/mcp into Claude, Cursor or ChatGPT, authorize, and your agent has the inbox.
Connecting Fastmail or another IMAP host too? How to connect iCloud, Fastmail, or any IMAP inbox to Claude
Comparing providers first? See the email provider compatibility matrix
Apple issues app-specific passwords only to an Apple Account that is protected with two-factor authentication. If App-Specific Passwords is missing from Sign-In and Security at account.apple.com, that is why, and turning 2FA on is the first step rather than an optional hardening measure. There is no other route: Apple offers no OAuth for iCloud Mail and your ordinary Apple Account password will not authenticate a mail client under any configuration.
Apple documents the incoming username as the name part of the iCloud address, for example johnappleseed rather than johnappleseed@icloud.com. That is the opposite of nearly every other provider on this site, and it catches people who copy their address in by habit. Older @me.com and @mac.com addresses, and iCloud+ custom domain addresses, all sign in as that same primary account name. If the short form is refused, Apple's own documentation names the full address as the fallback.
Apple's submission server is smtp.mail.me.com on port 587, which begins as a plain connection and upgrades with STARTTLS. Most providers listed on this site take implicit TLS on 465 instead, so a client that assumes 465 against iCloud simply hangs. There is a second trap in the same place: when we probed the server it advertised no authentication mechanisms at all before STARTTLS. A client that reads the mechanism list too early concludes that authentication is unsupported and gives up, when in fact it just needed to upgrade the connection first.
The capability list we read back from imap.mail.me.com is unusually spare. There is no MOVE, so moving a message is performed as a copy, a flag update and an expunge rather than one atomic command, and a connection that drops halfway can leave the message in both folders. There is no IDLE, so nothing can be pushed to you and new mail is discovered by looking. There is no UIDPLUS, so the identifier of a copied message is not handed back and has to be found by searching the destination. And there is no SPECIAL-USE, so Sent, Drafts, Trash and Junk are matched by name rather than by role: on a mailbox created in another language, name the folder explicitly and your agent will find it.
Not on its own. Claude has no built-in iCloud connector and Apple publishes no OAuth interface for iCloud Mail. Connecting an MCP server such as mcpemails to the mailbox over IMAP, using an Apple app-specific password, gives Claude read, search, send, reply, schedule and organize access, and the same connection works from Cursor and ChatGPT.
IMAP is imap.mail.me.com on port 993 with implicit TLS. SMTP is smtp.mail.me.com on port 587 with STARTTLS, not implicit TLS on 465. The password is an Apple app-specific password for both. Apple documents the incoming username as the name part of your address. Both hosts were confirmed from a live TLS connection on the date shown on this page.
Because iCloud never accepts the Apple Account password from a mail client. You need an app-specific password created at account.apple.com under Sign-In and Security, and that section only appears once two-factor authentication is on. If the password is right and the login still fails, try the name part of your address as the username instead of the full address.
Yes. All of them are the same iCloud mailbox reached through the same hosts with the same app-specific password. An iCloud+ custom domain address is an alias on your iCloud account rather than a separate mailbox, so it authenticates as your primary account name and its mail arrives in the same folders.
No. Messages are fetched live from Apple over IMAP for each request and handed to your AI client. Credentials are encrypted at rest and message bodies are not retained. Revoking the app-specific password in your Apple Account ends the connection at Apple's end straight away.
Connect iCloud Mail in minutes. One inbox free forever, no card required.