Migrate between email protocols: a complete step-by-step guide

20 minutes read

Looking to change your email protocol? That’s a big decision to make. In this article we will help you understand your email protocol options to weigh the pros and cons and, in the end, we will teach you how to change your email protocol with easy step-by-step instructions.

Written By
Updated On

Email Protocols dictate how emails are processed, transferred, stored, and received. The most common email protocols are SMTP, POP3, IMAP, and EAS. Before migrating between email protocols people usually choose an email protocol based on the factors below-

  • Need for better synchronization.
  • Storage management.
  • Switching between email providers.
  • Device and accessibility concerns.

Understanding Email Protocols

As mentioned earlier, Emai Protocols set the rules that govern how your emails are stored, sent, and received between different devices, servers, or email clients. Each type of email protocol works differently and some may suit some better than others. An overview of the available email protocols is given below.

IMAP

IMAP or Internet message access protocol, was created by Mark Crispin in 1986 as an alternative to The POP Protocol.

Using IMAP, all emails you receive and related data will be stored on the server. When you decide to open any particular mail, IMAP will then download a copy onto your device for you to view.

Since all the data is stored on the server, you can only access emails with an internet connection However, you can also access your data with multiple devices as long as you are able to log in.

IMAP-email-protocol

What is replacing IMAP?

JMAP, which stands for JSON Meta Application Protocol, is the most likely successor to IMAP. The Internet Engineering Task Force published it as RFC 8620 in 2019, and a small but growing number of email providers have started supporting it. Fastmail, which actually co-authored the spec, has offered JMAP access since 2019. Most mainstream providers have not yet made the switch.

The core problem JMAP solves is that IMAP was designed in 1986 for a world of single-folder inboxes and dial-up connections. Syncing a large mailbox over IMAP today can require hundreds of round trips between your client and the server. JMAP handles the same job in a single HTTP request, which means faster sync, lower battery drain on mobile, and simpler client code. It also handles contacts and calendars in the same protocol, which IMAP never did.

The JMAP protocol is not yet something you will migrate to today. Your Gmail account, your Microsoft 365 tenant, and your web host almost certainly do not offer it. What you will likely see over the next few years is your email client adding JMAP as a connection option alongside IMAP, much the way IMAP itself sat alongside POP3 for a decade before POP3 became the legacy choice. For now, IMAP remains the right protocol for multi-device access, with JMAP as the thing worth keeping an eye on.

POP3

POP or Post Office Protocol was introduced in the year 1984. The protocol is not highly dependent on constant access to the internet.

Here, all emails you receive are immediately downloaded to your device. After the emails are safe in your local storage, any existing copy is then deleted from the server. In the end, the only existing copy of your email exists in your device’s local storage.

POP3-email-protocol

SMTP

SMTP or Simple Mail Transfer Protocol is a push protocol. Unlike others, this protocol is responsible for transferring mail between 2 or more different servers.

While IMAP and POP3 are responsible for handling how you receive your mail from your servers, SMTP will ensure that the mail is carried from the sender’s server to yours.

SMTP-email-protocol

Is SMTP used anymore?

Yes, and it will be for the foreseeable future. SMTP, Simple Mail Transfer Protocol, is the universal standard for sending and relaying email between servers. Every email you send, regardless of whether your account uses IMAP or POP3 to receive mail, travels outbound over SMTP. That has not changed since 1982.

What has changed is how SMTP is secured. The original protocol sent everything in plain text. Modern SMTP connections use STARTTLS or SMTPS over port 587 or 465 to encrypt the transmission. Most providers have disabled port 25 for end-user clients entirely because it was exploited heavily for spam. If you are setting up an email client manually today, port 587 with STARTTLS authentication is the correct outgoing server setting for almost every provider.

SMTP is not something you migrate away from when you switch receiving protocols. When you move an account from POP3 to IMAP, your outgoing SMTP settings usually stay identical. The migration only changes how your client retrieves mail from the server, not how it sends it. The one time SMTP settings do change is when you switch providers entirely, such as moving from a shared hosting account to Microsoft 365, at which point you update the outgoing server to smtp.office365.com on port 587.

What are the differences between SMTP, IMAP, and POP3 email protocols?

Before you migrate between email protocols, it is essential to understand exactly what each protocol does and how they differ. Choosing the wrong protocol for your use case can lead to lost emails, sync issues, and compatibility problems with your email client. The four main email protocols. SMTP, IMAP, POP3, and EAS, each serve a distinct purpose in the email delivery and retrieval ecosystem.

SMTP (Simple Mail Transfer Protocol) is exclusively a sending protocol. It pushes outgoing messages from your mail client to a mail server and then routes them to the recipient’s server. It operates on port 25 (server-to-server), port 587 (client submission), or port 465 (SMTPS). IMAP (Internet Message Access Protocol) and POP3 (Post Office Protocol v3) are both incoming mail protocols, but they handle storage very differently. EAS (Exchange ActiveSync) is a Microsoft protocol designed for mobile device synchronization, offering real-time push email, calendar, and contact sync.

Feature SMTP IMAP POP3 EAS
Primary Use Sending mail Receiving / syncing mail Receiving mail (download) Push sync (mobile/Exchange)
Email Storage Server (in transit) Server Local device Server
Multi-device Access N/A Yes No (by default) Yes
Offline Access N/A Limited (cached) Full (after download) Limited (cached)
Real-time Sync N/A Near real-time No Yes (push)
Best For Sending all email General use, multiple devices Single device, low bandwidth Microsoft 365, mobile users
Standard Port 587 / 465 993 (SSL) 995 (SSL) 443 (HTTPS)

Is SMTP still used? Absolutely. SMTP remains the universal standard for sending email in 2024 and is not being replaced. Every email client, whether Gmail, Outlook, Apple Mail, or Thunderbird, uses SMTP to send messages. What has changed is the layering of security on top of SMTP, with modern deployments requiring TLS encryption and authenticated submission on port 587 rather than the older open-relay port 25.

How to Migrate Between Email Protocols?

Now that you have an understanding of what the email protocols are, let’s learn how to make the switch.

Important: Before migrating between email protocols, always make sure to create a backup file of all your mail data beforehand. If you would like to take extra precautions when it comes to your data, using an Outlook migration tool like Rikvr Transfer For Outlook will make your transition a lot smoother.

Migrating from POP3 to IMAP

By being able to accommodate multiple devices, IMAP has always been better suited for today’s world. You can switch from POP3 to IMAP by following the instructions below-

I. Create a Backup File

1. Open Outlook.

2. Click on File, access the Open&Export Tab, and click on Import/Export.

3. Select the Export to a file option and click on Next.

export-backup-file

4. Select Outlook Data File(.pst) and click on Next.

select-outlook-data-file

5. Select the Items that you wish to export/backup.

select-outlook-items

6. Select the Destination Folder and click on Finish.

select-destination-location

II. Switch From POP to IMAP

1. Open Outlook and click on File.

2. Under the Info tab, click on Account Settings and select the Account Settings option.

3. Click on New.

create-new-outlook-IMAP-account

4. Enter your email address, select the Manual Setup option, and click on Next.

set-up-IMAP-account-manually-to-migrate-between-email-protocols

5. Choose IMAP and click on Next.

select-imap-option-to-migrate-between-email-protocols

6. Enter or adjust User/server information as per your requirement and click on Next.

choose-settings

7. Set a password and click on Next.

8. Delete the old POP account.

III. Remove POP Account

1. Open Outlook.

2. Click on File and access the Info Tab.

3. Click on Account Settings and Select Account Settings from the drop-down option.

open-account-settings

4. Select Your POP Account and click on Remove.

remove-old-pop-account

Benefits of migrating from POP3 to IMAP:

  • IMAP allows users to access all their mail provided easily there is an internet connection.
  • Securely creates multiple copies of an email to store them on your server.
  • Allows users to create and update emails on the server.

Migrating from IMAP to POP3

IMAP vs POP has always been the question while picking an email protocol. While IMAP has usually been the choice, switching to POP3 may just be able to cater to very niche requirements that you may have.

You can switch from IMAP to POP by following the instructions below-

I. Create a Backup File

1. Open Outlook and click on File

2. Access the Open&Export Tab.

3. Select the Export to a file option and click on Next.

4. Select Outlook Data File(.pst) and click on Next.

5. Select the Items that you wish to export/backup.

6. Select the Destination Folder and click on Finish.

II. Switch From IMAP to POP

1. Open Outlook and click on File.

2. Under the Info tab, click on Account Settings and select the Account Settings option.

open-account-settings

3. Click on New.

open-new-pop-account-to-migrate-between-email-protocols

4. Enter your email address, select the Manual Setup option, and click on Next.

create-pop-account-manually-to-migrate-between-email-protocols

5. Choose POP and click on Next.

select-pop-option-to-migrate-between-email-protocols

6. Enter or adjust User/server information as per your requirement and click on Next.

confirm-pop-settings

7. Set a password and click on Next.

8. Delete the old IMAP account.

III. Remove IMAP Account

1. Open Outlook

2. Click on File and access the Info Tab.

3. Click on Account Settings and Select Account Settings from the drop-down option.

4. Select Your IMAP Account and click on Remove.

remove-old-imap-account

Benefits of migrating from IMAP to POP3:

  • Allows users to access emails without an internet connection (after downloading)
  • Stores emails on local device storage freeing up space on servers.
  • The only copy of the mail that exists will be stored on the device, making it harder for outsiders to access it.

Frequently Asked Questions About Migrating Between Email Protocols

Can I switch from POP3 to IMAP without losing emails?

Yes, you can switch from POP3 to IMAP without losing emails, but only if you take the correct precautions beforehand. Because POP3 downloads emails to your local device and removes them from the server, your existing messages live in a local data file (such as a .pst file in Outlook or an mbox file in Thunderbird). When you add a new IMAP account, those locally stored emails will not automatically appear in your IMAP mailbox. You will need to manually drag or import them from your local folders into the IMAP folder structure so they are uploaded to the server. Always create a full backup of your email data file before beginning any protocol migration.

What is the best email migration tool?

The best email migration tool depends on your platform and scale. For individual Outlook users, tools like Rikavr Transfer for Outlook or Microsoft’s built-in Import/Export wizard (File > Open & Export > Import/Export) are reliable for local PST migrations. For Gmail users, Google Workspace Migration for Microsoft Outlook (GWMMO) handles POP3 and IMAP-to-Gmail moves cleanly. For enterprise or multi-mailbox migrations to Microsoft 365, Microsoft’s native Exchange Admin Center Migration Wizard supports IMAP, cutover, and staged migration types at no additional cost. Third-party tools like BitTitan MigrationWiz and CloudM are popular for complex cross-platform migrations involving large numbers of mailboxes.

Will my emails be deleted when I change email protocols?

Not automatically, but the risk is real if you skip the backup step. When you remove a POP3 account from your email client, the locally downloaded emails remain in your client’s data file until you explicitly delete them. However, if you remove an IMAP account, your client may delete the locally cached copies since the authoritative copies live on the server. Before changing any protocol settings, export your mailbox to a local .pst (Outlook) or .mbox (Thunderbird/Apple Mail) file as a safety net.

Is it possible to use IMAP and POP3 at the same time on the same account?

Most email providers allow you to enable both IMAP and POP3 access simultaneously on the same account, but doing so is not recommended. Using both protocols at once can cause conflicts, for example, POP3 may download and delete messages from the server before IMAP has a chance to sync them to other devices. If you are in the middle of migrating from POP3 to IMAP, enable IMAP access first, import your local emails into the IMAP folders, verify everything is intact on the server, and only then disable POP3 access entirely.

How long does an IMAP migration to Office 365 take?

The duration of an IMAP migration to Office 365 depends primarily on mailbox size and network bandwidth. A single 5 GB mailbox typically takes between 2 and 8 hours for the initial sync. Microsoft recommends scheduling migrations during off-peak hours and running incremental syncs over 2 to 14 days before the final MX record cutover to minimize disruption. Enterprise migrations involving hundreds of mailboxes are usually staggered in batches to avoid throttling by Microsoft’s migration service endpoints.

Two additional questions come up regularly in searches that the sections above do not fully address inline, so they are answered here.

What is replacing IMAP?

JMAP (JSON Meta Application Protocol, RFC 8620) is the protocol designed to replace IMAP. Fastmail supports it now. Gmail and Microsoft 365 do not yet. For most users, IMAP remains the correct choice for multi-device access today.

Is SMTP used anymore?

Yes. Every email you send travels over SMTP regardless of whether you receive mail via IMAP or POP3. Port 587 with STARTTLS is the standard outgoing setting for almost every provider in 2025. Port 25 is blocked for end users by most providers to prevent spam abuse.

How to Migrate Between Email Protocols in Gmail and Outlook

Generic protocol migration steps are a useful foundation, but most users need platform-specific instructions tailored to Gmail or Microsoft Outlook. These two clients handle protocol configuration differently, and following the wrong steps can result in duplicate accounts, missing folders, or failed authentication. The walkthroughs below cover the most common real-world scenarios.

Migrate Between Email Protocols in Gmail (POP3 to IMAP)

Gmail defaults to IMAP for all new account connections, but older setups, particularly those configured before 2013, may still be using POP3. Switching ensures your Gmail account syncs correctly across all your devices, including Android phones, tablets, and desktop clients like Outlook or Thunderbird.

  1. Open Gmail Settings by clicking the gear icon in the top-right corner and selecting See all settings.
  2. Navigate to the Forwarding and POP/IMAP tab.
  3. Under the IMAP Access section, select Enable IMAP and click Save Changes.
  4. In your email client (e.g., Outlook or Thunderbird), remove your existing POP3 account entry.
  5. Add a new account using the following IMAP settings: Incoming server: imap.gmail.com, Port 993, SSL enabled. Outgoing SMTP server: smtp.gmail.com, Port 587, TLS enabled.
  6. Authenticate using your Gmail address and an App Password (required if 2-Step Verification is enabled, generate one at myaccount.google.com under Security > App Passwords).
  7. Allow your client to sync. Gmail folders will appear as IMAP labels. Your Inbox, Sent, and Drafts folders will populate automatically.

Migrate Between Email Protocols in Outlook (IMAP to Exchange ActiveSync / Microsoft 365)

Organizations migrating from a standard IMAP setup to Microsoft 365 (formerly Office 365) gain real-time push sync, shared calendars, and better mobile support through Exchange ActiveSync. This IMAP migration to Office 365 step-by-step process requires admin access if you are migrating multiple accounts, but individual users can follow these steps for a single-mailbox move.

  1. Sign in to the Microsoft 365 Admin Center at admin.microsoft.com and confirm your domain is verified.
  2. From the Admin Center, go to Setup > Migration and select IMAP Migration.
  3. Prepare a CSV migration file listing each user’s email address, username, and password in the format required by Microsoft (download the template directly from the Migration wizard).
  4. Upload the CSV file and allow Microsoft 365 to validate the IMAP server connection using your source server’s hostname and port (typically port 993 with SSL).
  5. Start the migration batch. Microsoft 365 will begin copying all email from the IMAP source to the corresponding Microsoft 365 mailboxes. This initial sync can take several hours to several days depending on mailbox size.
  6. Monitor migration progress in the Migration dashboard. When initial sync is complete, run an incremental sync to capture any new emails received during the migration window.
  7. Once you are satisfied with the data integrity, update your DNS MX records to point to Microsoft 365 and complete the migration cutover. Delete the IMAP migration batch to finalize.

After completing an IMAP migration to Office 365, reconfigure each desktop client (Outlook, Apple Mail, Thunderbird) to connect using Microsoft 365 Exchange settings rather than the old IMAP credentials. Users on mobile should remove the old IMAP account and re-add it as a Microsoft Exchange account to benefit from EAS push notifications and calendar sync.

How to migrate POP3 to IMAP in Mozilla Thunderbird

Thunderbird does not let you convert an existing POP3 account to IMAP in place. You add a new IMAP account alongside the old POP3 one, move your local mail across, then remove POP3. It takes about fifteen minutes if your mailbox is under a few thousand messages.

Start by exporting your local mail as a safety net. In Thunderbird 115 (Supernova) and later, go to Tools > Export and export your local folders as .mbox files. In older versions, your profile folder at %AppData%\Thunderbird\Profiles\ on Windows or ~/Library/Thunderbird/Profiles/ on macOS already contains the raw .mbox files, so copying that folder to an external drive is sufficient.

To add the IMAP account:

  1. Go to Account Settings > Account Actions > Add Mail Account.
  2. Enter your name, email address, and password, then click Continue.
  3. Thunderbird will attempt to auto-configure the server settings. If it finds both IMAP and POP3 options, make sure IMAP is selected before clicking Done.
  4. If auto-configuration fails, click Configure manually and enter your provider’s IMAP hostname (for Gmail: imap.gmail.com, port 993, SSL/TLS) and SMTP hostname (smtp.gmail.com, port 587, STARTTLS).

Once the IMAP account is connected, you will see both accounts in the left-hand folder pane. Drag messages from your POP3 Local Folders into the corresponding IMAP folders. Thunderbird uploads them to the server immediately. Folders with more than 2,000 messages can take several minutes per folder. Do not close Thunderbird mid-transfer or you will get partial duplicates that require manual cleanup.

After all messages are in the IMAP account and you can see them via webmail as confirmation, go to Account Settings, select the POP3 account, click Account Actions > Remove Account, and choose to keep the local message copies if prompted. The IMAP migration step-by-step process in Thunderbird differs from Gmail and Outlook primarily because there is no wizard, so the drag-and-drop method above is the standard approach recommended in Mozilla’s own support documentation.

Migrating to EAS in Outlook: Exchange ActiveSync step by step

Exchange ActiveSync migration matters most to you if you are moving from a standalone IMAP account to a Microsoft 365 or on-premises Exchange mailbox and you want push email, calendar sync, and contact sync all in one connection. IMAP does not carry calendar or contact data. EAS does.

Before you remove the old IMAP account from Outlook, export a backup. Go to File > Open & Export > Import/Export, choose Export to a file, select Outlook Data File (.pst), choose your IMAP mailbox, and save the .pst somewhere outside your user profile, such as an external drive or a OneDrive folder. This step takes five minutes and has saved me hours of recovery work on more than one occasion.

To add the Exchange account in Outlook 2016 or later:

  1. Go to File > Add Account.
  2. Enter the Microsoft 365 email address and click Connect.
  3. Outlook will auto-discover the Exchange server settings. If autodiscover fails, enter the server manually as outlook.office365.com and choose Exchange ActiveSync as the account type.
  4. Sign in with your Microsoft 365 credentials. If your organization uses multi-factor authentication, you will be prompted to approve the sign-in from the Authenticator app.
  5. Once the account appears, right-click your old IMAP account in the folder pane and select Remove Account.

After the Exchange ActiveSync migration completes, your calendar and contacts will appear automatically in Outlook. If they do not show up within ten minutes, close and reopen Outlook. On mobile, remove the old IMAP account from your device’s mail app and add the account again as a Microsoft Exchange account rather than an IMAP account. The device will pull calendar and contact data over EAS on the first sync.

One thing worth knowing: Outlook 2013 has a bug where EAS accounts added after an IMAP account for the same address can create a duplicate Inbox in the folder pane. The fix is to remove the IMAP account first, restart Outlook, then add the Exchange account. Doing it the other order works fine in Outlook 2016 and later.

Troubleshooting common email migration errors

Authentication failures are the most common thing to go wrong at the start of a migration. The error usually reads “Login failed” or “Invalid credentials” even when you are certain the password is correct. In most cases the real cause is app-specific passwords. Gmail, Yahoo, and Microsoft 365 accounts with two-factor authentication do not accept your main account password for IMAP connections. Go to your account’s security settings and generate a dedicated app password. Use that in your email client, not your regular sign-in password.

SSL certificate mismatches produce a different error: something close to “The server certificate could not be verified” or “SSL handshake failed.” This almost always means the server hostname you entered does not match the certificate the server is presenting. Double-check that you have typed the exact hostname your provider documents, including any subdomain. Entering mail.example.com when the correct hostname is imap.example.com will fail at the SSL step even though the server is reachable.

Duplicate folders appear frequently after migrating from IMAP to Exchange. Outlook sometimes creates a second Inbox or Sent Items alongside the ones synced from the server. Right-click the duplicate folder and check its properties. If it shows a local path rather than an Exchange path, it is a leftover from the old account and can be deleted safely after you confirm the Exchange version contains all your messages.

Missing emails after migration almost always trace back to one of two things. POP3 accounts set to delete messages from the server on download may have already removed messages that never made it into an IMAP-accessible copy. That mail exists only in the local .pst or .mbox file on the device that downloaded it. The second cause is folder subscriptions in IMAP. By default, some clients only sync subscribed folders. In Outlook, go to Account Settings > your IMAP account > More Settings > Advanced > Folders and check which folders are subscribed. In Thunderbird, right-click the IMAP account and choose Subscribe to see the full folder list.

One error I have seen catch people completely off guard: the Microsoft 365 IMAP migration wizard silently skips messages larger than 35 MB. It logs them as failed items rather than stopping the batch, so you will only notice if you check the migration report in the Exchange admin center after the sync completes. Download those oversized items from the source server manually and drag them into the destination mailbox through Outlook.

To Conclude

Choosing an email protocol may be tricky. I find that in today’s world, IMAP is much better suited. I hope that this article proves to be helpful while migrating between email protocols. If you have any related feedback or queries please feel free to reach out.