How to Migrate from Gmail to a Privacy-Focused Email Setup
Gmail has 1.8 billion users. It is fast, reliable, and free. But "free" means your email is the product — scanned for features, analyzed for advertising profiles, and subject to Google's terms. If you have decided to take back control, this guide walks you through the migration step by step.
Important caveat: this is not about abandoning Gmail entirely. Gmail is an excellent email client and spam filter. The goal is to own your email identity so you are not locked into any single provider — and to reduce what Google knows about your email activity.
The strategy
We are not replacing Gmail. We are putting a layer in front of it:
- Get a custom domain — Your email identity becomes
you@yourdomain.com, notyou@gmail.com - Route email through Cleanbox — Aliases on your domain forward to your Gmail inbox with spam filtering
- Gradually migrate accounts — Update your email address on services one by one
- Keep Gmail as the backend — Gmail still receives and stores your email, but your public identity is your domain
This gives you portability (you can switch away from Gmail anytime by changing where your aliases forward), privacy (your public-facing address is your domain, not Gmail), and convenience (you still use the Gmail interface).
Step 1: Export your Gmail data (30 minutes)
Before making any changes, back up everything:
- Go to Google Takeout
- Deselect all, then select only Mail
- Choose your export format (MBOX is standard)
- Click Create export
- Wait for the download link (can take hours for large mailboxes)
Store this backup somewhere safe. It contains every email in your Gmail account in standard MBOX format, which can be imported into Thunderbird, Apple Mail, or any other email client.
Step 2: Register a custom domain (10 minutes, $10-15/year)
Choose a domain that represents you or your business. Good registrars:
- Cloudflare Registrar — At-cost pricing, instant DNS propagation, great dashboard
- Porkbun — Affordable, clean interface, free WHOIS privacy
- Namecheap — Established, good support, frequent sales
Tips for choosing a domain:
firstnamelastname.com— Professional, timelesslastname.email— Clean, purpose-built TLDyourbrand.com— If you have a business or personal brand
Avoid novelty TLDs (.xyz, .click, .buzz) — they have poor reputation and may trigger spam filters.
Step 3: Set up Cleanbox (15 minutes)
- Create a free account at my.cleanbox.app
- Go to Mailboxes → Add Mailbox → select Gmail
- Enter your Gmail address and an app-specific password (not your main Gmail password)
- Go to Domains → Add domain → enter your new domain
- Add the DNS records Cleanbox shows you (MX, TXT, SPF) at your registrar
- Click Verify
For detailed DNS instructions, see DNS configuration: MX, TXT, and SPF records.
Step 4: Create your aliases (10 minutes)
Start with the addresses you will use most:
| Alias | Purpose |
|---|---|
hello@yourdomain.com | Primary contact address (replaces your Gmail for new contacts) |
newsletters@yourdomain.com | All newsletter subscriptions |
shopping@yourdomain.com | Online stores and purchases |
social@yourdomain.com | Social media accounts |
Or, for maximum compartmentalization, create a unique alias per service: amazon@yourdomain.com, linkedin@yourdomain.com, etc. See How to Find Out Who Sold Your Email Address for why this matters.
All aliases forward to your Gmail inbox. You receive email in the same place you always have.
Step 5: Set up "Send as" in Gmail (5 minutes)
So you can reply from your new domain address in Gmail:
- Gmail Settings → Accounts and Import → Send mail as → Add another email address
- Enter your name and your new domain address (e.g.,
hello@yourdomain.com) - For SMTP, use a transactional service:
- Mailgun — Free tier: 5,000 emails/month
- Resend — Free tier: 3,000 emails/month
- Brevo — Free tier: 300 emails/day
- Verify via the confirmation email Gmail sends to your alias
- Set the new address as default for sending
Now when you compose or reply in Gmail, it sends from hello@yourdomain.com. Recipients see your domain, not Gmail.
Step 6: Gradually migrate accounts (ongoing)
Do not try to change everything at once. Migrate in phases:
Week 1: Financial and security-critical
Bank, payment processors, password manager, email provider itself, government services. These are the most important to protect.
Week 2: Shopping and social
Amazon, eBay, LinkedIn, Facebook, Instagram, Twitter. Update the email address in account settings on each service.
Week 3: Subscriptions and newsletters
Unsubscribe from newsletters on Gmail. Re-subscribe using your newsletters@yourdomain.com alias. This is also a good time to audit and clean up unused accounts.
Ongoing: New signups
Every new account from now on uses a domain alias. Your Gmail address is no longer given out to any service.
Step 7: Harden the setup (optional)
- Enable Shield on your primary alias — Rate limiting prevents spam floods, delivery windows give you email-free evenings
- Set spam thresholds per alias — Strict on public-facing aliases, relaxed on personal ones
- Enable 2FA on Cleanbox, Gmail, and your domain registrar
- Use a password manager with unique passwords per service
What you gain
| Before | After |
|---|---|
Public identity: you@gmail.com | Public identity: you@yourdomain.com |
| Locked into Gmail | Portable — switch providers by changing alias forwarding |
| One address for everything | Compartmentalized — one alias per purpose or service |
| Gmail scans all email | Cleanbox filters first, only clean email reaches Gmail |
| Breach at one service exposes your address everywhere | Breach exposes one alias — disable it, create a new one |
| No spam control beyond Gmail's filter | Per-alias thresholds, Shield, contact states, AI classification |
What you keep
This is not about leaving Gmail. It is about not being dependent on Gmail:
- You keep using Gmail's interface (web, mobile app)
- You keep Gmail's built-in spam filter (as a second layer behind Cleanbox)
- You keep your
@gmail.comaddress as a backup/recovery address - You keep all your existing email in Gmail
The difference: your public identity is now yours. If you ever want to switch from Gmail to Fastmail, ProtonMail, or your own server, you change where your aliases forward. Your email address does not change. Your contacts do not notice.
For a quicker version of this guide, see How to Set Up a Professional Email Address in Under 10 Minutes. For the full domain setup walkthrough, see Custom Domain Email: The Complete Guide for Small Businesses.
Ready to take control of your inbox?
Start protecting your email with Cleanbox — free plan available, no credit card required.
Get started free