Christmas−30 % for 12 months with codeGet the offer →
  1. Home
  2. Free tools
  3. Email migration
Free tool, no sign-up

Email migration

Changing host or email service? For your email migration, the tool finds the IMAP settings for both your mailboxes, tests the connections, then copies the folders, the messages, their status and their original dates in the background. The old mailbox is never modified, and a final sync picks up the latest messages.

  • IMAP settings found for you
  • Folders, status and dates kept
  • Old mailbox never modified
Email migration: copying one IMAP mailbox to another with a progress bar, copied folders and message counters
Copy in progressResumes automatically after a cut
Security codeSent to the old mailbox
Old mailbox

The one the messages come from. It is never modified.

Server settings filled in automatically
New mailbox

The one that receives the copy. It must already exist with the new host.

Server settings filled in automatically

The passwords are encrypted and used only for this migration. They are deleted when you finish it, or at the latest 3 days after the copy ends.

A very large mailbox, or several mailboxes to move? Run the migration from the Passmundi client area

What the tool does

A mailbox copied, nothing lost

The tool reads the old mailbox over IMAP and places each message in the right spot in the new one, on our servers and in the background.

Settings found for you

IMAP server, security and port are suggested based on the provider, the DNS records or Thunderbird's settings database, with provider-specific advice when the provider is known.

Connections tested

Before any copy, the tool connects to both mailboxes, checks the credentials and encryption, and counts the messages to copy. Any error is explained in plain language.

Security code

A 6-digit code, valid for 30 minutes, is sent to the old mailbox. It proves that you read it: nobody can copy someone else's mailbox with a stolen password.

Folders and dates

Folders and subfolders recreated, special folders recognised whatever their name, messages copied with their read, replied or flagged status and their original received date.

Final sync

After the MX change, “Sync again” copies only the messages that arrived in the meantime. Duplicates are avoided thanks to each message's unique identifier.

Passwords erased

Passwords are encrypted during the migration, then erased when you finish it, or automatically a few days after the copy has ended.

How to use it

Migrate a mailbox in four steps

Enter both mailboxes

The address and password of the old and the new mailbox. The IMAP settings fill in automatically, correct them if needed.

Test and confirm

The tool tests both connections, then sends a code to the old mailbox. Enter it to start the copy in the background.

Change the MX

During or after the copy, point your domain's MX record to the new server and set up your devices.

Sync and finish

The next day, sync again to copy the latest messages, then click “Finish” to erase the passwords.

Email migration: what does it involve?

Email migration means copying the entire contents of one mailbox to another: the messages, the folders and subfolders, the status of each message and its received date. You need it when you change host, when you move from a free email service to a professional address, when you take over a company or when you merge several mailboxes.

The copy goes through IMAP, the protocol email software uses to read a mailbox that stays on the server. The tool connects to the old mailbox the way Outlook or Thunderbird would, reads each message, then places it in the new mailbox, in the right spot and with its original information. Nothing is ever deleted or modified in the old mailbox: it is read without the messages being marked as read.

Doing this by hand, by dragging folders from one account to another in email software, is slow and risky: a computer that goes to sleep, a connection that drops, and the copy stops without warning. Our free email migration tool does the work on our servers, in the background, resumes where it left off after an interruption and shows you the progress folder by folder.

IMAP or POP?

If you still collect mail from your old mailbox over POP, your messages may have been downloaded to your computer and deleted from the server. The tool can only copy what is still on the server. So check in your old host's webmail that your folders are really there before you start.

Preparing your email migration: the checklist

A few minutes of preparation avoid most blockages.

  1. Create the new mailbox with the new host, with the same address or a new one. The tool copies to a mailbox that already exists, it does not create it.
  2. Check IMAP access on both sides. Gmail, Yahoo and iCloud require an app password. With some hosts, IMAP must be enabled in the admin panel.
  3. Note down both passwords, or generate a strong password for the new mailbox with our password generator.
  4. Do a bit of tidying: empty the trash and spam, or choose not to copy them. A lighter mailbox copies faster.
  5. Lower the time to live (TTL) of your MX record a day or two in advance, if you are keeping the same domain name. The final change will then take effect faster.
  6. Export your contacts and calendars from the old email service, in vCard and iCalendar formats. They do not go through IMAP and are therefore not copied.

How to use the email migration tool

The tool is laid out in two columns: the old mailbox, where the messages come from, and the new mailbox, which receives the copy.

  1. Enter both email addresses. The server settings fill in automatically: IMAP server name, security type and port. Provider-specific advice appears when the provider is known, for example the need for an app password.
  2. Enter both passwords. If the login is not the full email address, enter it in the server settings.
  3. Choose the options: do not copy messages already in the new mailbox and do not copy spam, both ticked by default, and do not copy the trash, as you prefer.
  4. Confirm that you are authorised to access both mailboxes, then click “Test connections and continue”. The tool connects to both servers and counts the messages in the old mailbox.
  5. Enter the 6-digit security code sent to the old mailbox. Open it in your webmail or your usual software: this code proves that you really read it. It is valid for 30 minutes.
  6. Follow the copy on the tracking page. Keep its link secret: it lets you come back later. You can close the page, the copy carries on on our servers.

How the settings are found

To suggest the right server, the tool tries several sources, from the most reliable to the least: a list of known providers (Gmail, Outlook.com, Yahoo, iCloud, Orange, Free, La Poste, SFR and others), the MX records of major hosts, Thunderbird's public settings database, the autoconfiguration file published by the domain, Microsoft 365 and Exchange autodiscover, then the domain's SRV records. Failing that, it suggests mail. followed by your domain name. You can always correct these values. Only standard ports are accepted: 993 with SSL/TLS and 143 with STARTTLS.

What is copied, and what is not

What is copied

  • All folders and subfolders, recreated with the same structure in the new mailbox.
  • Special folders (Sent, Trash, Drafts, Spam, Archive), recognised even when their name differs from one host to another or from one language to another: “Sent Items” really does become the Sent folder of the new mailbox.
  • The status of each message: read or unread, replied, flagged as important, draft.
  • The original received date, so your messages stay sorted in the right order.
  • Attachments, which are part of the message itself.

What is not copied

  • Contacts and calendars, which do not go through IMAP.
  • Gmail's virtual folders, such as “All Mail”, “Starred” and “Important”, which would only duplicate messages already in the other folders.
  • Messages marked as deleted and waiting to be expunged.
  • Messages already in the new mailbox, if the option is ticked: they are recognised by their unique identifier.
  • Messages too large to be copied over IMAP. They are listed on the tracking page, with their folder, date, size and the reason, so you can transfer them by hand.
  • Filtering rules, automatic replies and signatures, which are email service settings and not messages.

The tracking page shows live the folder being copied, the number of messages copied, already present and failed, as well as the volume copied. You can pause the copy, resume it or cancel it. When the copy is complete, a summary email is sent to the new mailbox, with the next steps and the tracking link.

Changing host without losing a single message: switching the MX

During the email migration, new messages keep arriving in the old mailbox. The following method guarantees that none are lost.

  1. Start a first copy. It can take anywhere from a few minutes to several hours depending on the volume and the speed of the two servers.
  2. Change your domain's MX record with your DNS provider, so that it points to the new mail server. The new host gives you the exact value.
  3. Wait for propagation. Servers around the world pick up the new MX at the pace of the old record's time to live (TTL). Follow it with the DNS propagation tool and check the result with the MX checker.
  4. The next day, click “Sync again” on the tracking page: only the messages that arrived in the old mailbox in the meantime are copied, without duplicates.
  5. Set up the new mailbox on your computers and phones, then click “Finish” to erase the passwords.
  6. Keep the old mailbox for a few days before closing it, so you have time to check that everything has arrived.

You can also check the MX yourself from the command line:

dig +short MX example.com
10 mail.new-host.example.

Don't forget SPF, DKIM and DMARC

Changing mail server also changes the servers that send your emails. Update your SPF record to authorise the new host, with the help of the SPF generator, publish the new DKIM key it gives you, then check everything with the SPF, DKIM and DMARC checker. Otherwise, your messages risk landing in your recipients' spam folders. The DNS lookup lets you read all the domain's records in one go.

Email migration from Gmail, Microsoft 365 or iCloud: special cases

The major providers protect IMAP access in different ways. Here is what you need to know before starting the copy.

  • Gmail and Google Workspace: the server is imap.gmail.com. Your usual password is refused if 2-Step Verification is on: create an app password in your Google account, in the Security section.
  • Microsoft 365, Outlook.com and Hotmail: the server is outlook.office365.com. These services often refuse IMAP login with a simple password, and the tool does not support sign-in with a Microsoft account (OAuth). If the connection is refused, the account administrator must allow IMAP.
  • Yahoo: the server is imap.mail.yahoo.com, with an app password to generate in the account security settings.
  • iCloud: the server is imap.mail.me.com, with an app-specific password created in your Apple ID settings.
  • Orange, Free, La Poste and SFR: the servers imap.orange.fr, imap.free.fr, imap.laposte.net and imap.sfr.fr are suggested automatically for addresses from these providers. Check in their customer area that IMAP access is not disabled.
  • Corporate Exchange server: IMAP access must be enabled for the mailbox, and the server is often the same as the webmail one.

An app password is a separate password, created for a single use. Delete it once the migration is complete.

Common errors and solutions

  • Login or password refused: check the login (often the full address), then create an app password if the provider requires one. After several refusals, the tool enforces a short pause to protect both accounts.
  • The certificate does not carry the server name: your domain points to a shared server whose certificate carries the host's name. Use the server name given by the host, or tick “Accept an unverified certificate” if you are sure of the server.
  • Server not found: the name entered does not exist in the DNS. Correct it using the host's documentation.
  • Port not allowed: use 993 with SSL/TLS or 143 with STARTTLS, the two standard IMAP ports.
  • The code does not arrive: look in the old mailbox's spam folder, then resend the code, at most once a minute and five times in total.
  • Same mailbox on both sides: the old and new mailboxes have the same server and the same login. Check that the new mailbox really has been created with the new host.
  • Connection dropped during the copy: the tool retries automatically, at increasing intervals, and resumes where it left off. If the password has changed in the meantime, the copy stops and an email lets you know.

Migration security and privacy

Entrusting two passwords to an online tool calls for guarantees. Here is how they are protected.

  • A security code before any copy: it is sent to the old mailbox and proves that you really read it. Nobody can therefore copy someone else's mailbox with a stolen password. After five wrong codes, the request is cancelled and the passwords erased. The message containing the code is not copied to the new mailbox.
  • Encrypted passwords throughout the migration, used only for the copy.
  • Automatic erasure: passwords are erased when you click “Finish” or “Cancel”, and at the latest a few days after the copy has ended, even if you do nothing.
  • An untouched old mailbox: the tool only reads, it does not delete, move or flag anything.
  • Limits per connection and on volume, to prevent abuse. For a very large mailbox or several mailboxes to move, the migration can be done from the Passmundi customer area, without copying messages already transferred a second time.

Once the migration is complete, you can change the passwords of both mailboxes if you wish: the tool no longer needs them. It is also a good time to review the security of your new email service, and to find our other free tools to check it.

Key points

IMAP settings for the main providers

ProviderIMAP serverGood to know
Gmailimap.gmail.com, port 993App password
Microsoft 365, Outlook.comoutlook.office365.com, port 993IMAP must be allowed
Yahooimap.mail.yahoo.com, port 993App password
iCloudimap.mail.me.com, port 993App-specific password
Orangeimap.orange.fr, port 993Mailbox password
Other hostPort 993 (SSL/TLS) or 143 (STARTTLS)Login often the full address
Frequently asked questions

Email migration: your questions

How do I transfer all my emails from one mailbox to another?

First create the new mailbox with the new host. In the tool, enter the address and password of both mailboxes: the IMAP settings are found for you. After the connection test, enter the code received in the old mailbox. The copy of the folders, the messages and their dates then runs in the background, on our servers.

Is the old mailbox modified during the migration?

No. The tool only reads the old mailbox: it does not delete, move or modify any message, and it reads them without marking them as read. You can keep using the old mailbox during the copy. Messages that arrive in the meantime will be copied during the final sync, after the MX change.

How long does an email migration take?

It depends on the number of messages, their size and the speed of the two servers: from a few minutes for a small mailbox to several hours for a large one. The tracking page shows the progress live, folder by folder. You can close it: the copy carries on on our servers and an email lets you know when it is done.

Is the email migration tool free?

Yes, migration from this page is free and requires no account. Limits per connection and on volume prevent abuse. For a very large mailbox or several mailboxes to move, the migration can continue from the Passmundi customer area, without copying messages already transferred a second time.

Are my passwords kept after the migration?

No. Passwords are used only for the copy. They are encrypted during the migration, then erased as soon as you click “Finish” or “Cancel”, and automatically a few days after the copy has ended if you do nothing. Once they are erased, a new sync requires creating a new migration.

Why does the tool send a code to the old mailbox?

The code proves that you really have access to the old mailbox, not just its password. It stops someone who has stolen a password from copying another person's mailbox. The code has 6 digits, stays valid for 30 minutes, and five mistakes cancel the request and erase the passwords.

Are contacts and calendars copied?

No. The copy goes through IMAP, the protocol for messages, and contacts and calendars are not part of it. Export them from the old email service, in vCard format for contacts and iCalendar for calendars, then import them into the new one. Filtering rules, automatic replies and signatures also need to be recreated.

How do I migrate a Gmail mailbox with this tool?

The imap.gmail.com server is suggested automatically. If 2-Step Verification is on for your Google account, your usual password is refused: create an app password in your Google account, in the Security section, and use it in the tool. Virtual folders such as “All Mail” are not copied, to avoid duplicates.

Why is the connection to Microsoft 365 or Outlook.com refused?

Microsoft 365, Outlook.com and Hotmail often refuse IMAP login with a simple password, and the tool does not support sign-in with a Microsoft account (OAuth). If the connection is refused, the account administrator must allow IMAP access for the mailbox. For a personal account, check the Microsoft account's security options.

Will there be duplicates if I run the copy again?

No, as long as the “Do not copy messages already present” option stays ticked, which it is by default: each message is recognised by its unique identifier. The copy also resumes where it left off after an interruption, and “Sync again” only copies messages that arrived since the last copy.

How do I avoid losing any email when changing host?

Start a first copy, then change your domain's MX record so that it points to the new server. The next day, once DNS propagation is complete, click “Sync again”: messages that arrived in the old mailbox in the meantime are copied. Keep the old mailbox for a few days before closing it.

Why have some messages failed?

Most often, they are messages too large to be copied over IMAP, or refused by the new server. The tracking page lists the latest messages not copied, with their folder, received date, size and the reason. They stay intact in the old mailbox: you can transfer them by hand if needed.

The complete toolbox

All our free tools, in one place

25 free tools, no sign-up needed, to check your email, your domain and your website. Each one gives a clear result and the steps to follow.

Email and deliverability 10

SPF, DKIM and DMARC checkerEmail authentication
Free

An A to F grade for your domain, with the exact fix to publish for each issue.

  • SPF, DKIM and DMARC read and explained
  • DMARC policy and alignment
  • Fixes ready to copy
Open the tool
Domain security auditDomain security
Free

Free domain security check: SPF, DKIM, DMARC, MTA-STS, blacklists, certificate and lookalike domains. Get an A to F grade and fixes ready to copy.

  • A to F grade in 20 to 40 seconds
  • Fixes ready to copy
  • Free weekly monitoring
Open the tool
Email spam testDeliverability
Free

Send a message to a test address and get a score out of 100: authentication, reputation, content.

Open the tool
MX lookupReceiving
Free

Where your mail arrives, in what order, and whether it goes through a filter before your inbox.

Open the tool
DMARC generatorAuthentication
Free

Your DMARC record in one minute, with the right policy to get started safely.

Open the tool
SPF generatorAuthentication
Free

A correct SPF built from your sending services, without exceeding the ten lookup limit.

Open the tool
Email header analyzerInvestigation
Free

Paste a message's headers: route, delays and authentication checks translated into plain English.

Open the tool
MTA-STS, TLS-RPT and BIMIAdvanced security
Free

Encryption enforced between servers, TLS reports, brand logo and DNSSEC in a single test.

Open the tool
Blacklist checkerReputation
Free

Is your IP address or domain on anti-spam lists? Thirteen lists checked.

Open the tool
Email signature generatorBrand image
Free

A professional signature in six steps, compatible with every mail app.

Open the tool

Domains and DNS 6

DNS lookupRecords
Free

All of a domain's records, A, MX, TXT, NS, CAA and the rest, on the resolver of your choice.

  • Every record type
  • A choice of seven public resolvers
  • Explanations for each value
Open the tool
DNS propagationDNS changes
Free

Is a change already visible everywhere? The answer from nineteen resolvers around the world.

Open the tool
Reverse DNS lookup (PTR)IP address
Free

The name associated with an IP address, checked in both directions, just as mail servers do.

Open the tool
Whois and RDAP lookupOwnership
Free

Registrar, creation and expiry dates, name servers and status of a domain or an IP.

Open the tool
Lookalike domain finderSpoofing
Free

Names close to yours that are already registered, which fraudsters could use against your customers.

Open the tool
Punycode converterAccented names
Free

Accented domains and the xn-- form, in both directions, with detection of misleading characters.

Open the tool

Websites and security 8

Speed testPerformance
Free

An A to F grade, Core Web Vitals, image-by-image loading and advice, on mobile and desktop.

  • Google metrics and server analysis
  • Request waterfall and page weight
  • PDF report to share
Open the tool
Cookie scannerGDPR
Free

Cookies before and after consent, banner, providers and a GDPR register ready to publish.

Open the tool
SSL certificate checkerEncryption
Free

Validity, issuer, chain, names covered and expiry date of a certificate, on any port.

Open the tool
HTTP headers and redirectsWeb server
Free

The redirect chain of an address and the grade of its security headers.

Open the tool
What is my IPNetwork
Free

Your public IP address, IPv4 and IPv6, its name, its operator and its country.

Open the tool
Internet speed testConnection
Free

Download and upload speed, latency and jitter of your connection, measured live in your browser.

Open the tool
IP and CIDR subnet calculatorNetwork
Free

Ranges, masks, subnets and number of addresses of an IPv4 or IPv6 network.

Open the tool
Password generatorSecurity
Free

Strong passwords and passphrases, created in your browser, never sent.

Open the tool

Migration and handy tools 1

Email migrationChanging host
You are here

Copy all the messages from one mailbox to another, folders and dates included, without deleting anything.

New mailbox, new protection

Take advantage of the move to protect your mailboxes: Passmundi validates senders and stops spam, viruses, phishing and CEO fraud, whatever your email host.