Migrate iCloud Mail to Gmail with MailMigrata
This article explains how to copy an iCloud Mail mailbox to Gmail with MailMigrata. For the opposite direction, see Gmail to iCloud.
Limitations
- MailMigrata copies IMAP email only: messages, folders, and attachments the destination accepts. Calendars, contacts, and files need CalendarMigrata (Migrate iCloud Calendar to Google Calendar), ContactMigrata (Migrate iCloud Contacts to Google Contacts), and FileMigrata.
- MailMigrata does not delete anything from the source unless you choose to.
- Each job copies one mailbox. Do not start a second job into the same destination folders; it creates duplicates. Resume the first job instead.
- Messages larger than Gmail's size limit are not copied and stay on iCloud.
- Keeping your
@icloud.comaddress while reading mail in Gmail needs MX or forwarding, not a mailbox copy. See Switch providers without changing your address.
What is migrated
- Messages, folders, and attachments within Gmail's limits.
- Read and unread flags, where IMAP maps them.
Prerequisites
- An Apple ID with two-factor authentication and an app-specific password from appleid.apple.com. See Connect iCloud Mail.
- Gmail with IMAP on, and a Gmail app password or Connect with Google. See Connect Gmail.
Connection details
| Setting | Value |
|---|---|
| Host | imap.mail.me.com |
| Port | 993 |
| Username | Full @icloud.com or @me.com address |
| Password | App-specific password |
Folder mapping
- iCloud Inbox → Gmail Inbox.
- Custom folders → Gmail labels.
- Do not select All Mail; it duplicates everything.
Steps
- Connect iCloud Mail with the app-specific password.
- Connect Gmail and confirm IMAP is on.
- In MailMigrata, start a new migration, validate, and select folders. Skip All Mail.
- Optional: set a date range.
- Start the job. You can keep using mail.
- Check the Gmail Inbox and at least one custom label.
Troubleshooting
- iCloud: LOGIN failed: You used the Apple ID password. Generate an app-specific password at appleid.apple.com and use it.
- Gmail asks for an app password: See How to create a Gmail app password.