All posts

Blog

How to Move Your Email to a New Host Without Losing Messages

Illustrated cover for the Email guide "How to Move Your Email to a New Host Without Losing Messages"

Moving a website to a new host gets most of the attention, but for many businesses the scarier part is the email. Years of conversations, invoices and attachments live in those inboxes, and nobody wants to discover a gap of missing messages after the switch.

The good news is that moving email to a new host is very manageable if you plan it in the right order. This guide covers the whole process, from taking stock of your accounts to switching your MX records and cleaning up afterward.

Before you start: understand what you're moving

Email has three parts that you need to think about separately:

  1. Mailboxes and their stored messages. The actual inboxes, folders and old emails.
  2. Mail routing. Your domain's MX records, which tell the rest of the internet where to deliver new mail.
  3. Your devices. The phones, laptops and email apps that connect to your mailboxes.

A smooth move copies the stored messages, switches the routing at the right moment, and then updates each device.

Step 1: Make an inventory

Before touching anything, list every email address on your domain. For each, note whether it is:

  • A real mailbox with stored messages
  • A forwarder that sends mail on to another address
  • An alias, group or catch-all
  • An autoresponder

It is easy to forget a forwarder like billing@ or a shared inbox like info@. If you're unsure of the difference between forwarders and mailboxes, see email forwarders vs mailboxes.

Also check how much storage each mailbox uses. Very large mailboxes take longer to copy, and you want to be sure the new host's mailbox quotas are big enough.

Step 2: Lower your DNS TTL

A day or two before the switch, lower the TTL (time to live) on your MX records and any mail-related records to something short, like 300 seconds. This makes the change spread faster when you switch. Our guide to DNS propagation explains why this helps.

Step 3: Create the mailboxes on the new host

Recreate every mailbox, forwarder and alias on the new host using the same addresses. Give each mailbox a strong password and note them somewhere secure, because you'll need both the old and new passwords during the copy.

At this point, nothing has changed for anyone sending you email. Mail still goes to the old host.

Step 4: Copy existing messages

There are several ways to copy old email. Pick the one that fits the size of your move.

Option A: Your new host's migration tool

Some hosts and email providers offer a built-in import tool where you enter the old server's details and your mailbox credentials. It connects over IMAP and copies folders automatically. This is usually the easiest option if it is available.

Option B: An IMAP sync tool

Tools such as imapsync copy messages directly from one IMAP server to another, preserving folders and read status. They can be run repeatedly, copying only new messages each time, which is ideal for a final sync after the switch. This is a good choice for many mailboxes or large ones, and many hosting support teams use it.

Option C: Drag and drop in an email app

For a single small mailbox, you can add both the old and new accounts to an app like Thunderbird or Outlook using IMAP, then drag folders from the old account to the new one. It is slow for big mailboxes, but it works.

Option D: Full account transfer between control panels

If you are moving a whole cPanel or DirectAdmin account, a full account backup and restore usually brings the mailboxes along with the website. Check with the new host whether they can handle this for you.

Avoid POP3 for migration. POP3 often downloads mail to one device and deletes it from the server, which can leave messages stranded. Use IMAP. See IMAP vs POP3 for why.

Step 5: Switch the MX records

When the copy is complete, update your domain's MX records to point at the new host. Where you do this depends on where your DNS is managed:

  • At your registrar, if you use its DNS
  • In your hosting control panel, if your nameservers point to your host
  • At a DNS provider such as a CDN service, if your DNS lives there

If you're moving your nameservers along with the website, the MX records will change automatically once the new nameservers take over, as long as the new DNS zone has the right MX records.

While DNS updates spread, some new messages may still arrive at the old server for a short time. That's normal, and it is why the next step matters.

Step 6: Run a final sync

A day or so after the switch, run your copy process one more time to pick up any messages that landed on the old server during the change. If you used an IMAP sync tool, it will only copy new messages. Keep the old hosting account active until you've done this.

Step 7: Update SPF, DKIM and DMARC

Your email authentication records need to match the new host:

  • SPF: Update the record to include the new server or service, and remove the old one once you're done.
  • DKIM: Publish the new provider's DKIM key.
  • DMARC: Your existing policy can usually stay, but check reports after the move to make sure mail is passing.

If these are wrong, your mail might start landing in spam. Our guide to SPF, DKIM and DMARC walks through each record.

Step 8: Reconnect your devices

Every phone, computer and app needs the new server settings. Usually that means:

  • New incoming (IMAP) and outgoing (SMTP) server names
  • The correct ports and SSL/TLS settings
  • The new mailbox password

The easiest approach is often to remove the old account from the app and add it again with the new details. Make sure you have confirmed the messages are on the new server before you remove anything from a device that uses POP3.

If you're moving to Host Whimsy, the knowledge base has guides for setting up email on common devices.

Step 9: Test everything

Run through a quick checklist:

  • Send a message from an outside account (like a personal Gmail) to each address
  • Reply from each mailbox and check that the reply arrives and doesn't go to spam
  • Check forwarders, groups and autoresponders
  • Confirm website contact forms still deliver mail

Step 10: Clean up

After a week or two with no issues, you can:

  • Cancel the old email service or hosting account
  • Remove old entries from your SPF record
  • Raise your DNS TTLs back to normal values

Common mistakes to avoid

  • Switching MX records before copying messages
  • Forgetting forwarders and shared addresses
  • Canceling the old service before the final sync
  • Leaving an outdated SPF record that fails new mail
  • Using POP3 during the move

Wrapping up

Moving email to a new host is about doing things in the right order: inventory, create, copy, switch, sync again, then update devices. Take your time with the preparation, keep the old service active until the dust settles, and your team can switch providers without losing a single message.