Cleanbox
Features Blog Pricing Developers
Sign in Start free trial
privacy how-to domains

How to Migrate from Gmail to a Privacy-Focused Email Setup

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:

  1. Get a custom domain — Your email identity becomes you@yourdomain.com, not you@gmail.com
  2. Route email through Cleanbox — Aliases on your domain forward to your Gmail inbox with spam filtering
  3. Gradually migrate accounts — Update your email address on services one by one
  4. 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:

  1. Go to Google Takeout
  2. Deselect all, then select only Mail
  3. Choose your export format (MBOX is standard)
  4. Click Create export
  5. 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, timeless
  • lastname.email — Clean, purpose-built TLD
  • yourbrand.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)

  1. Create a free account at my.cleanbox.app
  2. Go to MailboxesAdd Mailbox → select Gmail
  3. Enter your Gmail address and an app-specific password (not your main Gmail password)
  4. Go to DomainsAdd domain → enter your new domain
  5. Add the DNS records Cleanbox shows you (MX, TXT, SPF) at your registrar
  6. 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:

AliasPurpose
hello@yourdomain.comPrimary contact address (replaces your Gmail for new contacts)
newsletters@yourdomain.comAll newsletter subscriptions
shopping@yourdomain.comOnline stores and purchases
social@yourdomain.comSocial 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:

  1. Gmail Settings → Accounts and ImportSend mail asAdd another email address
  2. Enter your name and your new domain address (e.g., hello@yourdomain.com)
  3. 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
  4. Verify via the confirmation email Gmail sends to your alias
  5. 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

BeforeAfter
Public identity: you@gmail.comPublic identity: you@yourdomain.com
Locked into GmailPortable — switch providers by changing alias forwarding
One address for everythingCompartmentalized — one alias per purpose or service
Gmail scans all emailCleanbox filters first, only clean email reaches Gmail
Breach at one service exposes your address everywhereBreach exposes one alias — disable it, create a new one
No spam control beyond Gmail's filterPer-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.com address 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