How to Migrate from cPanel Email to Google Workspace Without Losing Mail
Why move from cPanel email to Google Workspace?
cPanel email comes free with your hosting, and for a long time that was enough. But it has real limits: your mailbox shares storage with your website, there is a cap on how many emails you can send per hour, spam filtering is basic, and your mail shares an IP address with every other site on the server — if one of them sends spam, your mail can end up in other people’s spam folders too. Google Workspace fixes all of that: 30 GB of storage per user on the Business Starter plan, strong spam filtering, proper mobile apps, and Google’s sending reputation behind every message. It costs Rs.270 per user per month, and for most businesses the reliability alone is worth it.
Before you start
Do not cancel your cPanel hosting or delete anything yet. The golden rule of every email migration is: copy first, switch second. Your mail keeps arriving at cPanel until you change the MX records at the very end, so nothing is lost while you prepare. You will need your cPanel login, your Google Workspace admin account, and access to your domain’s DNS settings.
Step 1: Set up Google Workspace
Create your Google Workspace account and add your domain. Google will ask you to verify you own the domain, usually by adding a text record to your DNS. This takes a few minutes to a few hours to be recognised. Then create a user account for every person who has a mailbox on cPanel, using the same email addresses they have now — if someone is priya@yourcompany.in on cPanel, they must be priya@yourcompany.in on Google Workspace too.
Step 2: Copy the old mail with Google’s data migration service
Google Workspace has a built-in data migration service that copies mail from an IMAP server — which is what cPanel uses — straight into the new Gmail mailboxes. In the Google Admin console, go to Data migration, choose Email, and enter your cPanel mail server details: the server is usually mail.yourdomain.com, port 993, with SSL on. You will need each user’s cPanel email password; if you do not know them, reset them in cPanel first and share the new ones with the team.
Start the migration and let it run. Depending on how much mail you have, it can take a few hours or a few days. You can keep using cPanel email normally while it copies — the migration only reads the old mail, it does not delete anything.
Step 3: Switch the mail flow
Once the copy is done and you have checked a few mailboxes to confirm the old mail arrived, it is time to switch. In your domain’s DNS settings, replace the cPanel MX records with Google’s:
- ASPMX.L.GOOGLE.COM (priority 1)
- ALT1.ASPMX.L.GOOGLE.COM (priority 5)
- ALT2.ASPMX.L.GOOGLE.COM (priority 5)
- ALT3.ASPMX.L.GOOGLE.COM (priority 10)
- ALT4.ASPMX.L.GOOGLE.COM (priority 10)
Mail starts arriving in Google Workspace within a few hours as the DNS change spreads. For a day or two, some mail may still arrive at cPanel — that is normal. Run the data migration once more after the switch to catch any stragglers, a step people often forget.
Step 4: Add SPF, DKIM and DMARC
These three DNS records prove your mail is genuine and keep it out of spam folders. Add an SPF record that includes Google’s servers, turn on DKIM in the Google Admin console and publish the key it gives you, and add a DMARC record. Start DMARC at p=none so you can watch the reports without rejecting mail, and move to p=quarantine and then p=reject once you are confident everything is set up correctly. Our knowledge base has a full guide to setting up SPF, DKIM and DMARC.
Step 5: Set up phones and check everything
Ask everyone to add their new Gmail account to the Gmail app on their phone, and to Outlook or Apple Mail on their computer if they prefer a desktop app. Then check: send a test email to a Gmail address and a Microsoft address and confirm it lands in the inbox, reply to an old thread and confirm the reply arrives, and check that shared addresses like info@ or sales@ still work — recreate any forwarders or aliases you had in cPanel as Google groups or aliases.
Common problems
Mail is missing after the migration. Check the migration report in the Admin console first — it lists any messages that failed, usually because of a wrong password. Re-run the migration for that user; it only copies what is missing.
Some mail still goes to cPanel days later. This usually means an old MX record is still in your DNS, or your DNS host caches records for a long time. Check your DNS with an online MX lookup tool and remove any record that still points at your cPanel server.
Your mail lands in spam. Check SPF, DKIM and DMARC with an online tester. The most common cause is a missing or wrong SPF record after the switch.
Your website’s contact form stops sending mail. Your website was probably sending form mail through cPanel. After the switch, point the form at Gmail’s SMTP (smtp.gmail.com, port 587) with an app password, or use a transactional mail service.
Let HostMinute do it for you
Email migration is a paid, fully managed service at HostMinute — we audit your mailboxes, copy everything, switch the DNS, set up SPF, DKIM and DMARC, and check every mailbox before we hand it over, with no mail lost. Talk to us on WhatsApp at +91 99446 53368 or see our Google Workspace plans. We offer a 7-day money-back guarantee and 24/7 support.