Documentation

JustForwarding help

Connect iCloud Mail (IMAP app-specific password)

This article explains how to connect iCloud Mail to MailMigrata, for example to copy it to Gmail or Microsoft 365.


Limitations

  • Apple requires an app-specific password when two-factor authentication is on. Your Apple ID password fails.
  • This covers mail only. iCloud Drive uses FileMigrata (Apple has no public Drive API for direct connection); calendars use CalendarMigrata (Connect Apple iCloud Calendar (CalDAV app-specific password)) over CalDAV.
  • Hide My Email relay addresses are not separate accounts. They deliver to this mailbox and are copied with it.

What is migrated

You can keep using the mailbox while the copy runs. MailMigrata does not delete anything from the source unless you choose to.


Prerequisites

  • An Apple ID with two-factor authentication.
  • An app-specific password from appleid.apple.com.
  • The iCloud address the mailbox uses (usually @icloud.com or @me.com). An alias iCloud does not show as the mailbox fails.

Connection details

Setting Value
Protocol IMAP
Host imap.mail.me.com
Port 993
Username Full iCloud address
Authentication App-specific password

Steps

  1. At appleid.apple.com, create an app-specific password named "MailMigrata".
  2. In MailMigrata, choose iCloud and enter the address and app-specific password.
  3. Validate and confirm that Inbox, Sent, Archive, and custom folders appear. iCloud folder lists can be short.
  4. Choose a destination and start.

For the opposite direction, see Gmail to iCloud.


Troubleshooting

  • LOGIN failed: you did not use an app-specific password. Create one under App-Specific Passwords at appleid.apple.com.
  • Empty folder list: wrong alias as username. Use the address iCloud shows as the mailbox.

Related articles