Cloud House Technologies Logo
CloudHouse Technologies
HomeServicesProjectsBlogAbout UsCareersContact UsLogin
    Cloud House Technologies Logo
    CloudHouse Technologies
    HomeServicesProjectsBlogAbout UsCareersContact UsLogin

    Plesk Email Migration Guide: Migrate Emails via IMAP Without Data Loss

    Priya

    Content Writer & Researcher

    Last Updated: 14 August 2026
    Plesk Email Migration Guide: Migrate Emails via IMAP Without Data Loss
    🖥️

    Migrate Your Plesk Emails Safely Without Losing Any Data

    Email data loss during migration is a real risk — missing folders, broken flags, and partial imports can leave your clients without critical messages. Let CloudHouse handle your Plesk email migration end-to-end.

    🔧 Book Free DiagnosisCall NowWhatsApp
    🖥️12,400+PCs Fixed
    ⭐4.9★Google Rating
    ⚡<15 minAvg. Response
    🛡️ISO 27001Certified

    Plesk email migration via IMAP is one of the most reliable ways to move mailboxes from any source server — Gmail, cPanel, or another Plesk instance — to your Plesk server without losing a single message. Whether you're consolidating hosting for a client or moving an entire organisation, a well-executed plesk email migration imap workflow preserves folder structure, read/unread flags, and message timestamps. This guide covers everything from Plesk's built-in Mail Import tool to bulk migrations with imapsync, plus a verification checklist so you can confirm zero data loss before cutting over.

    What is IMAP-Based Email Migration and When to Use It

    IMAP (Internet Message Access Protocol) keeps all mail stored on the server and synchronises state between clients and the server. This makes it the ideal transport for migrations: because messages live on the server rather than a local client, an IMAP-to-IMAP copy is a faithful, lossless transfer.

    Use IMAP-based migration when:

    • You are moving mailboxes from any IMAP-enabled source (Gmail, Yahoo, cPanel/WHM, Zimbra, Exchange with IMAP enabled, or another Plesk server)
    • You need to preserve read/unread status, message dates, and folder hierarchy
    • You want a live cutover with minimal downtime — IMAP sync can run continuously until the DNS MX switch
    • You are migrating dozens or hundreds of mailboxes and need scriptable automation (imapsync batch mode)

    If the source server is also Plesk and you have SSH access to both, the Plesk-to-Plesk Migration Manager can move entire subscriptions including DNS and databases. But for cross-platform or provider migrations where you only have IMAP credentials, the IMAP path described here is the safest option.

    💡 None of these worked? Skip the guesswork.

    Get Expert Help →

    Prerequisites: Preparing Source Email Accounts for Migration

    Before touching the Plesk UI, lock down these prerequisites or the migration will fail mid-transfer.

    1Enable IMAP on the source server

    Log in to the source mail provider and confirm IMAP access is active. On cPanel, go to Email Accounts → Connect Devices and verify IMAP is listed. On Gmail, go to Settings → See all settings → Forwarding and POP/IMAP and set IMAP Status to Enabled.

    2Collect IMAP connection credentials for each mailbox

    You will need: source IMAP hostname, IMAP port (993 for SSL, 143 for STARTTLS/plain), full email address as the username, and the mailbox password. Record these in a secure spreadsheet or password manager — never in plain-text files committed to version control.

    3Create the destination mailboxes in Plesk first

    Mail Import only fills an existing mailbox — it does not create one. In Plesk, go to Domains → [your domain] → Mail and add each mailbox before starting the import. Set a temporary password; you can change it after migration.

    4Check storage quotas

    Ensure the destination Plesk mailbox quota is at least as large as the source mailbox. Undersized quotas silently stop the transfer mid-folder. Navigate to Mail → [mailbox] → General in Plesk and either increase the quota or set it to Unlimited for the duration of the migration.

    5Whitelist your Plesk server IP on the source

    Some providers rate-limit or block unfamiliar IPs. If the source is a shared hosting provider, open a support ticket to whitelist your Plesk server's IP before running the migration.

    1Open the Mail Import dialog

    In the Plesk admin panel, navigate to Domains → [domain] → Mail → [mailbox address]. Click the Import Mail Messages button. If the button is absent, confirm that the Mail Import extension is installed under Extensions → My Extensions.

    2Enter the source server details

    Fill in the dialog fields:

    • Mail server: the source IMAP hostname (e.g., mail.oldhostprovider.com or imap.gmail.com)
    • Login: the full email address of the source mailbox
    • Password: the source mailbox password

    Plesk defaults to port 993 with SSL/TLS. If the source server requires port 143 with STARTTLS, expand the advanced options (covered in the next section).

    3Start the import

    Click Import. Plesk connects to the source IMAP server and begins copying all folders and messages. A progress indicator shows the current folder being transferred. Do not close the browser tab — the import job runs server-side but the UI refresh depends on the open session.

    4Monitor the import log

    When the import completes, the dialog shows a summary: total messages copied, folders created, and any errors encountered. Review the error list carefully — errors here usually mean a specific folder was skipped (often due to special characters in folder names or oversized attachments).

    5Repeat for each mailbox

    The GUI import is per-mailbox. For domains with more than 5-10 mailboxes, switch to the imapsync command-line method described later in this guide for efficiency.

    1Message count comparison

    In imapsync output, the final summary line shows total messages on host1 vs. host2. They should match. You can also check via IMAP commands:

    # Count messages in INBOX on source
    openssl s_client -connect mail.sourcedomain.com:993 -quiet <<EOF
    A1 LOGIN user@sourcedomain.com password
    A2 SELECT INBOX
    A3 LOGOUT
    EOF

    The EXISTS response value is the message count. Compare this number with the destination.

    2Folder structure verification

    Connect to the destination mailbox with a mail client (Thunderbird works well for this) and verify all folders are present. Cross-reference against a folder list exported from the source before migration.

    3Read/unread flag check

    Open Thunderbird or Outlook connected to the destination Plesk mailbox and spot-check 5-10 messages. Confirm read/unread status matches the source. If flags are missing, re-run imapsync with --useuid flag which uses IMAP UIDs for more reliable flag transfer.

    4Date preservation check

    Sort the destination inbox by date. The oldest messages should show their original dates, not today's date. If all messages show today's date, imapsync was run without --syncinternaldates — this is cosmetic but affects user experience. Re-run with the flag to correct it.

    5Send and receive test

    Before switching MX records, configure one mailbox in a test client pointing to the new Plesk server. Send a test message from an external address and confirm it arrives in the Plesk mailbox — not the old server. This validates the Plesk mail stack is working independently of the MX cutover.

    6Update MX records and lower TTL in advance

    Set your domain's MX record TTL to 300 seconds (5 minutes) 24-48 hours before the cutover. This minimises the propagation window. After the cutover, raise TTL back to 3600 or higher.

    FAQs

    Can I migrate emails from Gmail to Plesk without losing labels?

    Gmail labels map to IMAP folders. Plesk's Mail Import and imapsync will both create corresponding IMAP folders on the destination. The label-to-folder mapping is preserved, but note that Gmail's system labels (All Mail, Starred) may create duplicate messages. Use --exclude "\[Gmail\]" in imapsync to skip Gmail's system folders and avoid duplicates.

    How long does a Plesk IMAP email migration take?

    Speed depends on mailbox size and network latency between servers. A typical 10 GB mailbox migrates in 1-3 hours over a 100 Mbps connection. imapsync processes roughly 3-10 messages per second. For large migrations (50 GB+), run imapsync overnight and then do a final re-sync just before the DNS cutover to catch any messages received during the initial sync.

    Does the Plesk Mail Import feature work for migrating from cPanel?

    Yes. cPanel mail servers expose standard IMAP on port 993 (SSL) or 143 (STARTTLS). Enter the cPanel server hostname, the full email address as the username, and the mailbox password in Plesk's Mail Import dialog. If you get an authentication error, try the format username@domain.com as the login rather than just username.

    What is imapsync and is it safe to use for production migrations?

    imapsync is an open-source Perl tool maintained by Gilles LAMIRAL, widely used in the hosting industry for IMAP-to-IMAP migrations. It is non-destructive — it only reads from the source and writes to the destination. The source mailbox is never modified. Running it multiple times is safe; it skips messages already present on the destination using IMAP message IDs.

    How do I migrate emails to Plesk without downtime?

    Run the initial imapsync transfer while the source MX records are still live. Once the initial sync is complete, run imapsync a second time in --dry mode to estimate how many new messages arrived during the first pass. When the delta is small (under a few hundred messages), schedule the final sync and MX record switch together during a low-traffic window. The whole cutover window can be under 15 minutes.

    Conclusion

    A successful plesk email migration imap workflow comes down to preparation, the right tool for the scale, and rigorous post-migration verification. For single mailboxes, Plesk's built-in Mail Import feature is the fastest path. For bulk migrations across dozens of accounts, imapsync's batch scripting and incremental sync capability make it the professional's choice. Follow the verification checklist before every DNS cutover and you will consistently achieve zero data loss migrations — regardless of the source platform.

    If you are planning a migration and want expert support, our team handles end-to-end server migration services including mailbox migrations, DNS cutovers, and post-migration monitoring.

    Get the Free Linux Server Admin Cheatsheet (PDF)

    Essential commands for server management, networking, and troubleshooting — all on one printable page.

    Running Linux servers? Let us manage them for you.

    Our Managed Linux Server plans cover updates, security hardening, monitoring, and 24/7 incident response — so your servers stay up and your team stays focused.

    • Proactive OS patching and security updates
    • 24×7 monitoring with instant alerting
    • Backup configuration and disaster recovery
    • Dedicated Linux engineers on call
    See Pricing Plans →

    What our customers say

    “Our production server went down at 2 AM. CloudHouse had it back online in under 20 minutes. Incredible response time.”

    Arun S.

    CTO, SaaS Startup

    “They migrated our entire infrastructure from Ubuntu 18 to 22 with zero downtime. Couldn't have asked for better.”

    Deepak N.

    DevOps Lead

    Frequently Asked Questions

    Gmail labels map to IMAP folders, and both Plesk's Mail Import tool and imapsync will recreate them as folders on the destination Plesk server. To avoid duplicate messages from Gmail's system folders (All Mail, Starred), use the --exclude "\[Gmail\]" flag in imapsync.

    Book your free 15-minute diagnosis

    A certified technician will call you back within 15 minutes during business hours.

    Share this article

    Leave a Comment

    Comments (0)

    Loading comments...

    Struggling With Plesk Email Migration?

    IMAP migration errors can silently drop entire mail folders before you even notice. CloudHouse Technologies has run hundreds of Plesk mailbox migrations — we know exactly where things go wrong and how to prevent them. Get expert help and migrate without the stress.

    Call Now — FreeWhatsApp Us

    Why CloudHouse?

    • ISO 27001:2022 certified
    • 12,400+ devices supported
    • 4.9★ on Google
    • Sub-15-minute response

    CloudHouse Technologies

    Innovative cloud solutions for modern businesses. We deliver cutting-edge technology with exceptional service.

    Contact Us

    CloudHouse Technologies Pvt.Ltd
    Special Economic Zone(SEZ),
    Infopark Thirissur,4B-15,
    Indeevaram,Nalukettu Road,
    Koratty, Kerala, India-680308
    0480-27327360
    info@cloudhousetechnologies.com

    Quick Links

    • Our Services
    • Gold Loan Software
    • About Us
    • Contact
    • Terms and Conditions
    • Privacy Policy
    ISO27001:2022
    Certified

    © 2026 CloudHouse Technologies Pvt.Ltd. All rights reserved.

    Back to top