iCloud Mail → Google Drive

How to save iCloud email attachments to Google Drive automatically

Updated:

Your mail is on iCloud (an @icloud.com, @me.com or @mac.com address, or your own domain through iCloud+), but your accountant, your team or your own archive lives in Google Drive. Apple offers no built-in bridge between the two. This guide shows how to connect them over IMAP with an app-specific password, so invoices, receipts and contracts are saved and sorted on their own.

Free plan available · Help by email

Why iCloud Mail needs a different approach

Most guides about saving attachments to Google Drive assume the mail is in Gmail, where Drive add-ons, filters and Apps Script can reach it. iCloud Mail is a separate service, so none of those tools see your messages. Inside iCloud you can download attachments one by one, and on iCloud.com you can create rules that sort or forward incoming mail, but no Apple setting sends a file to Google Drive, OneDrive or Dropbox.

What iCloud does offer is a standard door: Apple states that iCloud Mail uses the IMAP and SMTP standards and does not support POP (iCloud Mail server settings for other email client apps). Any tool that speaks IMAP can read your mailbox and pick out the attachments, as long as it signs in with an app-specific password instead of your Apple Account password.

One connection covers more addresses than you might think. Apple's own help treats @me.com and @mac.com as iCloud Mail addresses alongside @icloud.com (Create a primary email address for iCloud Mail). If you pay for iCloud+, you can use up to five custom domains with up to 10 personalized addresses per domain, and that mail is handled by the same iCloud Mail account (Use Custom Email Domain with iCloud Mail). So a freelancer receiving invoices at hello@yourstudio.com on iCloud+ reaches them through the same IMAP server as a personal @icloud.com address.

Apple's official iCloud Mail IMAP settings

These are the values Apple publishes for third-party email apps. They are the same for @icloud.com, @me.com, @mac.com and custom domain addresses.

SettingValue
IMAP serverimap.mail.me.com
Port993
SecuritySSL required (Apple says to try TLS if an app reports an SSL error)
UsernameUsually the name part of your iCloud address (for example johnappleseed); if a client can't connect with that, Apple says to try the full address
PasswordAn app-specific password, not your Apple Account password
POPNot supported

Source: Apple Support, iCloud Mail server settings for other email client apps.

Creating the app-specific password

Apple's rule is simple: to generate app-specific passwords, your Apple Account must be protected with two-factor authentication. Then:

  1. Sign in to your Apple Account at account.apple.com.
  2. In the Sign-In and Security section, select App-Specific Passwords.
  3. Select Generate an app-specific password and follow the steps. Name it "Inbox2Drive" so you recognise it later.
  4. Paste the generated password into the password field of the app you are connecting.

You can have up to 25 active app-specific passwords and revoke them individually. Important: changing or resetting your Apple Account password revokes all of them automatically, so any connected tool will need a new one. Source: Apple Support, Sign in to apps with your Apple Account using app-specific passwords.

Set up iCloud Mail to Google Drive with Inbox2Drive

Inbox2Drive does not have a dedicated iCloud button. You connect iCloud Mail through its generic IMAP option, the same connector used for domain mailboxes in our IMAP to Google Drive guide. From then on it reads new messages, classifies each attachment with AI (invoice, receipt, contract, payslip and more) and saves it into the right folder in Google Drive, OneDrive or Dropbox.

  1. Check two-factor authentication

    Most Apple Accounts already have it. Without it, Apple won't let you create an app-specific password.

  2. Generate an app-specific password

    At account.apple.com, under Sign-In and Security → App-Specific Passwords, as described above. Keep the tab open; you'll paste it in a minute.

  3. Create a free account

    Sign up on the Free plan at inbox2drive.com.

  4. Add iCloud Mail as an IMAP mailbox

    Choose IMAP as the mailbox type and enter your iCloud email address, server imap.mail.me.com, port 993 with SSL, and the app-specific password. If the connection is refused, the usual cause is your regular Apple Account password pasted by mistake, or an app-specific password revoked by a password change.

  5. Connect Google Drive and pick the base folder

    Authorize Google Drive (or OneDrive or Dropbox) and choose where documents should go, for example a folder you already share with your bookkeeper.

  6. Set your rules

    Organize by document type, date, sender or a combination. Rules can route documents by type, sender or content, so supplier invoices go to one place and contracts to another.

Connect iCloud Mail free

Suggested Google Drive folder structure

Sort by document type first and date second. If you use both a personal @icloud.com address and an iCloud+ custom domain, everything arrives through one mailbox, so a sender-level folder for your main clients or suppliers keeps business and personal paperwork apart:

Google Drive/
└── Inbox2Drive/
    ├── Invoices/
    │   └── 2026/
    │       ├── 10-October/
    │       └── 11-November/
    │           ├── Hosting Provider/
    │           └── Coworking Space/
    ├── Receipts/
    │   └── 2026/
    ├── Contracts/
    ├── Bank & Tax/
    └── Personal/
        └── 2026/

Zero-padded month numbers keep folders in calendar order, and at tax time you share one year folder instead of searching your inbox. If PDFs arrive with names like document.pdf, our free invoice PDF renamer bulk-renames them to a pattern like 2026-11-05_Vendor_INV-0042.pdf in your browser. Self-employed? The guide for freelancers and the self-employed covers organizing receipts for taxes.

Your options compared, honestly

OptionHow it worksGood forLimits
Manual download (iCloud.com or Mail app)Open each email, download the file, upload it to DriveA handful of attachments a month; freeEvery file by hand; nothing is sorted unless you do it
Zapier / Make style toolsGeneric IMAP trigger pointed at imap.mail.me.com, plus a Drive "upload file" actionPeople who already build automations; links to many other appsYou build and maintain each workflow; billed by tasks or operations; sorting invoices from contracts needs extra steps
Shortcuts on iPhone or iPadAn Email automation trigger runs a shortcut you designTinkerers in the Apple ecosystemRuns on your device; you build the attachment and Drive steps yourself
Inbox2DriveGeneric IMAP connection + AI classification + folder rulesRecurring invoices and receipts across one or several mailboxesNeeds an app-specific password; monthly email and document limits per plan

Manual: Mail on iCloud.com

Go to icloud.com/mail, open the message and select the file; it downloads to your browser's download location (Apple: Download email attachments from Mail on iCloud.com). Then upload it to Drive yourself.

Good: works anywhere with a browser. Watch out: two steps per file, every time.

Manual: Mail on Mac

Click the attachment icon in the message header and choose a file or Save All, or use File → Save Attachments (Apple: View, save, or delete email attachments in Mail on Mac). If you have Google Drive for desktop, saving into its folder gets the file to Drive. One warning from the same page: Message → Remove Attachments deletes the attachments from the server on IMAP accounts, and they can't be retrieved.

Good: fast for a few files. Watch out: only when you're at the Mac; no sorting.

Shortcuts automation

Apple lists Email among the Shortcuts automation triggers that can run without asking for confirmation (Apple: Add automations to Shortcuts on iPhone or iPad). Apple doesn't publish a ready-made recipe for saving attachments to Google Drive, so the extraction and upload steps are yours to build and test.

Good: free, on-device. Watch out: depends on your phone and your own shortcut logic.

Zapier or Make

Zapier's IMAP app has a New Email trigger and Make's Email app can connect to other providers through IMAP, so either can use Apple's settings and an app-specific password. Pair it with a Google Drive upload and you have a pipeline. See our Zapier alternative for email attachments for the trade-offs.

Good: flexible, no code. Watch out: one workflow per mailbox and you maintain the classification logic.

Forwarding iCloud mail to Gmail is another route: iCloud.com can forward all mail automatically, including custom-domain addresses, after which the Gmail methods in how to save email attachments to Google Drive apply. The cost is a second copy of every message in another account.

Security notes for iCloud connections

Which plan fits

Each connected mailbox, whether iCloud via IMAP, Gmail or Outlook, counts as one email account. Current plans from the home page:

PlanPriceEmail accountsEmails / documents per month
Free0 €120 / 10
Starter19 €/mo2500 / 200
Business39 €/mo52,000 / 1,000
Pro79 €/mo1010,000 / 5,000

A freelancer with one iCloud mailbox (personal and custom-domain addresses together) can start on Free to confirm the connection and folder structure, then move to Starter when volume grows or a second mailbox joins.

FAQ

Can I use my normal Apple Account password to connect iCloud Mail?

No. Apple's server settings for third-party email apps ask you to generate an app-specific password, and app-specific passwords require an Apple Account protected with two-factor authentication. You create it at account.apple.com under Sign-In and Security.

Does this work for @me.com, @mac.com and custom domains?

Yes. Apple treats @me.com and @mac.com addresses as iCloud Mail addresses, and iCloud+ custom domain addresses are delivered to your iCloud Mail account, so one IMAP connection to imap.mail.me.com reads them all.

Does Inbox2Drive have an iCloud button?

No. Inbox2Drive has dedicated connections for Gmail and Outlook and a generic IMAP connector. iCloud Mail is connected through that generic IMAP option using Apple's published settings: imap.mail.me.com, port 993, SSL, and an app-specific password.

Can I use POP instead of IMAP?

No. Apple states that iCloud Mail uses IMAP and SMTP and does not support POP.

Will Inbox2Drive delete or move my iCloud emails?

No. It reads messages to find attachments and saves copies of the files to your cloud storage. Your emails stay in iCloud. To disconnect, remove the mailbox in Inbox2Drive and revoke the app-specific password at account.apple.com.

What happens if I change my Apple Account password?

Apple revokes all app-specific passwords automatically when you change or reset your primary Apple Account password. Generate a new one and update it in Inbox2Drive so the connection keeps working.

Get your iCloud attachments into Google Drive

Using Yahoo Mail too? See how to save Yahoo Mail attachments to Google Drive.

Add iCloud Mail through the IMAP option, point it at Google Drive and let invoices and receipts land in the right folders. Stuck on a setting? Write to us at marketing@inbox2drive.com and we'll reply by email.

Create a free account

Free plan · Paid plans from 19 €/month