Import your old email from Gmail or any IMAP account
cloudmail imports old mail from a Google Takeout .mbox file, a .zip of .eml files or any IMAP account. Labels, threads, read and starred state and attachments come with it, and running an import twice adds no duplicates.
How an import works
Files up to 50 GB
Upload an .mbox, a .zip of .eml files or a single .eml from the browser or the CLI.
IMAP, read-only
Connect with an app password. Folders are opened read-only, so nothing on the old account changes.
Gmail labels kept
Inbox, Sent, Spam and Trash become folders, and your own labels stay labels.
No duplicates
Messages are matched by Message-ID, so running an import again adds nothing.
Quiet
Imported mail triggers no forwarding, auto-replies, webhooks or notifications.
Resumable
An interrupted import picks up where it stopped, and you can pause or cancel it.
Moving from Google WorkspaceMoving from Microsoft 365Moving from FastmailMoving from mailcow
Import from the command line
In the docs: Importing mail.
cloudmail import mbox takeout.mbox --mailbox you@yourdomain.com
cloudmail import status --waitQuestions about importing mail
How do I move from Gmail or Google Workspace?
Export your mail with Google Takeout and import the .mbox file, or connect Gmail over IMAP with an app password. Then the setup wizard points your domain's MX records at Cloudflare.
How do I move from Outlook or Microsoft 365?
Import each mailbox over IMAP, or from .mbox and .eml exports.
Is my IMAP password stored?
It is encrypted while the import runs and deleted when the import completes, fails or is cancelled.
Is there a size limit?
A file can be up to 50 GB. A single message over 25 MB is skipped and counted.
One-time licence