Updated in

How To Securely Export Your Email Inbox as mbox in

Export, Archive, Migrate, or Clean: Do It Securely. No Third-party Permissions!

Pat's avatar
By Pat
How to export any email inbox into mbox securely maintaining full privacy and not giving data away to third-parties

Every day our email inbox gets a bit more crowded. Between those must-read emails are many we might never open. You've decided it's time to sort them out. Whether you're thinking of moving to a different email place, backing up your emails, or just tidying things up, this guide's for you. Here, you'll learn how to save your emails safely, always protecting your privacy. We'll also show you how the GoodByEmail app can help you clean your email inbox securely.

GoodByEmail

Clean up your email, privacy-first

5

We will guide you through this process without depending on third-party solutions that inevitably gain access to your data, despite their assurances of security. A wise piece of advice I received from my parents was, “Entrust your data to no one”. This sentiment is the driving force behind the creation of this guide.

This involves exporting your emails using the universally recognized mbox format.

If you happen to be using Gmail, the process is straightforward, and we'll walk you through it. But for those looking beyond Gmail and desiring more universal solutions, we've also got you covered. We'll show you how to do the same with Apple Mail and Thunderbird emails clients.

Option 1 - Quick & easy email inbox export to mbox with Google Takeout

Works great for Gmail users

We've created a detailed article with the step-by-step mbox export process for Gmail users. It's super easy! In summary, it involve these steps:

  1. Log in to your Google account.
  2. Navigate to the Google Takeout page.
  3. Deselect all services and only choose 'Mail'. This ensures you’re only downloading your emails.
  4. Click on “All Mail data included” to select specific labels if you don't want everything.
  5. Choose the mbox format for the export.
  6. Click 'Next' and choose your preferred download method.
  7. Google will prepare the export and send you a link to download when it’s ready.

Now, if Gmail isn’t your primary email provider or if you're interested in universally applicable solutions (which also work with Gmail btw), keep reading.

Don't Miss Out!

Subscribe to GoodByEmail's newsletter. Our updates are filled with tips on how to manage your inbox.

Option 2 - Secure mbox export with Apple Mail

Works great for any type of email account and small inboxes, but you need to be a macOS user

If you're a macOS user and prefer utilizing the Apple Mail client, you can export your mailboxes directly to an mbox file without needing additional software. The process is straightforward and ensures your data remains secure and uncompromised.

Steps to Export Mailboxes to mbox using Apple Mail:

  1. Open the Apple Mail client on your macOS system.
  2. If you haven't yet connected with your email provider, here's how you add a new account:
    1. Choose Mail > Add Account.
    2. Select an account type.
    3. Apple Mail Select Email Account Provider Type
    4. Enter your account information.
    5. Wait until it finishes downloading all your emails before continuing to the next step.
  3. Select the mailbox you wish to export from the left sidebar.
  4. Navigate to Mailbox in the menu bar at the top of your screen and choose Export Mailbox....
  5. Apple Mail Export Mailbox Menu
  6. Choose a save location for the exported mbox file.
  7. Click Choose to start the export process.
  8. Please wait patiently while the system fetches all your files and prepares the mbox file. You'll know it's complete when the folder name changes from, for example, INBOX.partial.mbox to INBOX.mbox. This process might take a while depending on the size of your inbox. Make sure to keep your computer on and active until it's finished.
  9. Important: "INBOX.mbox" refers to a folder name, not the actual file you need for tools like GoodByEmail. Ensure you use the mbox file located within this folder.

Once the process is complete, the mbox file will be ready for backup, archiving, cleaning, or migration.

By following these steps, macOS users can securely export their mailboxes using the Apple Mail client, keeping their email data safe and private.

Option 3 - Secure mbox export with Thunderbird

Works great for any type of email account and available for macOS, Windows and Linux users

Regardless if you're a Windows, Linux or Mac user, Thunderbird offers a clear path to generate mbox files from any email provider securely. Here’s why Thunderbird is favored by many:

  • Universal Compatibility: Thunderbird interfaces seamlessly with numerous email providers, ensuring a smooth export process.
  • Data Security: With Thunderbird, your emails are processed directly on your machine, mitigating risks associated with third-party tools.
  • Open-Source Integrity: Being open-source, Thunderbird's security measures are continually scrutinized and refined by experts worldwide.

Steps to Export Emails via Thunderbird in mbox format

  1. Setting up Thunderbird:
    • If Thunderbird isn’t already installed, download version 115 or newer and install it. Then, go ahead and configure your email account .
    • While downloading emails locally may take time based on your inbox size and internet speed, it ensures no data is shared with third parties; monitor the download status at the bottom left corner.
    • Thunderbird automatically downloads messages for offline use, ensuring your mbox files contain all required data without removing them from the server. Do ensure your computers is left up and running until the download completes.
    • Note: To ensure Thunderbird retains messages locally and on the server (its default setting), right-click on your email account, select Settings, then Synchronisation & Storage and select the options shown in the screenshot below.
    • Thunderbird Default Synchronization & Storage options
  2. Accessing the Profile Folder:
    • Launch Thunderbird.
    • Click on the burger icon (three horizontal lines) in the top right corner.
    • Hover over Tools and select Open Profile Folder.
    • Thunderbird Settings Menu Burger Icon
  3. Locate the mbox Files:
    • Within the profile folder, find the ImapMail directory (or Mail for POP accounts).
    • Notice how the subfolders are named after your email domain, like imap.gmail.com, or outlook.office365.com.
    • Dive into the relevant domain directory to view files corresponding to your email folders. Your mbox files are right there, ready to be used! They are the ones without a file extension and matching your mailbox folder name (e.g. INBOX and Sent) and usually the most interesting ones are very large:
    • Thunderbird Email Contents folder sample

And that's pretty much it. You have successfully found all your mbox files created by Thunderbird, which can now be used for cleaning, backup and archiving purposes, or perhaps migrated to another email client.

So, no matter if you’re using Gmail or another email provider, and whether you’re a Mac, Windows, or Linux user, you now have the know-how to safely export those emails, back them up securely, and keep your personal info right where it should be—private and safe. Happy mbox exporting!

So, what did you like about this post? Come say hello on X!

Loading X...

Wondering where to find us?

Follow us on X:

GoodByEmail Profile on X / Twitter

FAQs: Your Burning Questions Answered

    What is mbox format and why should I use it?

    The mbox format is a standardized file format for storing a collection of email messages. It's widely supported by various email clients and tools, making it a versatile choice for exporting, backing up, and migrating your emails.

    You can then upload the mbox file to GoodByEmail, a tool that helps you quickly identify email senders that consume most of your email storage. With this information, you can bulk delete emails that significantly impact your storage. Furthermore, GoodByEmail assists in unsubscribing from mailing lists, preventing your storage from filling up rapidly in the future. It operates without requiring access to your email credentials, ensuring the privacy of your data.

    Why is it important to export my emails?

    Exporting your emails helps you keep a secure backup, ensures you retain important communications, and allows for easier migration to different email clients or email inbox cleaning services (such as GoodByEmail) without relying on third-party access to your data.

    How do I export my emails from Gmail using Google Takeout?

    To export your Gmail emails using Google Takeout:
    1. Log in to your Google account.
    2. Go to the Google Takeout page.
    3. Deselect all services and select only 'Mail'.
    4. Click "All Mail data included" to choose specific labels if needed.
    5. Select the mbox format for export.
    6. Click 'Next' and choose your download method.
    7. Google will prepare the export and send you a download link when ready.
    8. Consider using tools like GoodByEmail: It helps you quickly identify email senders that consume most of your Gmail storage. With this information, you can bulk delete emails that significantly impact your storage. Furthermore, GoodByEmail assists in unsubscribing from mailing lists, preventing your storage from filling up rapidly in the future. It operates without requiring access to your Gmail credentials, ensuring the privacy of your data.

    Can I export emails from Apple Mail? What are the limitations?

    Yes, you can export emails from Apple Mail. The process is straightforward:
    1. Open Apple Mail on macOS.
    2. Select the mailbox you want to export.
    3. Go to Mailbox > Export Mailbox.
    4. Choose a save location and start the export.
    5. Consider using tools like GoodByEmail: It helps you quickly identify email senders that consume most of your email storage. With this information, you can bulk delete emails that significantly impact your storage. Furthermore, GoodByEmail assists in unsubscribing from mailing lists, preventing your storage from filling up rapidly in the future. It operates without requiring access to your email credentials, ensuring the privacy of your data.
    6. Note: Apple Mail can only export inboxes up to 2.15GB. For larger inboxes, consider other options.

    How do I export my emails using Thunderbird?

    To export emails with Thunderbird:
    1. Install Thunderbird and configure your email account.
    2. Let Thunderbird download your emails for offline use.
    3. Open Thunderbird, click the menu icon, go to Tools > Open Profile Folder.
    4. Find the mbox files in the ImapMail or Mail directory.
    5. Copy the mbox files for backup, archiving, or migration.
    6. Consider using tools like GoodByEmail: It helps you quickly identify email senders that consume most of your email storage. With this information, you can bulk delete emails that significantly impact your storage. Furthermore, GoodByEmail assists in unsubscribing from mailing lists, preventing your storage from filling up rapidly in the future. It operates without requiring access to your email credentials, ensuring the privacy of your data.

    Is my data safe during the mbox export process?

    Yes, when you follow our guide above, your data remains on your local machine throughout the process, minimizing the risk of unauthorized access. We suggest you do not use third-party tools that could compromise your data security.

    Can I use these methods on Windows and Linux?

    Yes, while Apple Mail is specific to macOS, Thunderbird is available for Windows, macOS, and Linux, making it a versatile option for users across different operating systems.

    What if my inbox is larger than 2.15GB and I'm using Apple Mail?

    If your Apple Mail inbox exceeds 2.15GB, you should consider using Thunderbird or another email client that supports larger exports. Thunderbird, in particular, does not have the same size limitations.

    Why should I avoid third-party email export tools?

    Third-party tools may gain access to your sensitive email data during the export process. By using native methods like Google Takeout, Apple Mail, or Thunderbird, you ensure that your data remains private and secure.

    Will deleting emails free up storage?

    Yes, deleting emails will indeed free up storage. However, the amount of storage you reclaim depends on the type and number of emails you delete. Here's a deeper dive into the topic:
    1. Not all emails are created equal. Emails with large attachments, such as videos, high-resolution images, or documents, can take up a significant amount of space. However, these types of emails might not be as common in your inbox.
    2. On the other hand, while individual emails without attachments might seem insignificant in size, having thousands of them can cumulatively occupy a substantial amount of storage.
    3. Tools like GoodByEmail can be invaluable in this process. It helps you quickly identify and delete all emails from the "Top Offenders", i.e. senders that are occupying the most storage. Moreover, it aids in unsubscribing from unwanted mailing lists, preventing future storage issues. The best part? It does all this without requiring access to your sensitive login credentials.
Say hiPat & Alex avatar@goodbyemail