How2Lab Logo
tech guide & how tos..


How to Backup your Mailbox to free Up Server Space?


Are you constantly hitting your email storage limit? Do you dread the thought of deleting old, important messages or, worse, paying for more server space? You are not alone! A full email inbox is a common pain point for countless users.

The good news is you don't need to spend a dime to solve this problem. With a free, powerful email client viz. Mozilla Thunderbird, you can download your emails directly from your internet mail server to your computer, free up precious server space, and keep your valuable messages safe and accessible offline.

This guide will walk you through two effective approaches using Thunderbird, helping you reclaim your inbox freedom.


Why Choose Mozilla Thunderbird for Your Email Backup?

Thunderbird is a free, open-source desktop email application developed by Mozilla (the creators of Firefox). It is robust, widely compatible with almost all email providers, and crucially, allows you to manage emails locally on your computer.

Before You Start: Essential Preparations

Before we dive into the backup methods, make a few preparations:

  1. Download and Install Thunderbird:

    • Go to the official Mozilla Thunderbird website: www.thunderbird.net

    • Download the latest version for your operating system (Windows, macOS, Linux) and follow the installation instructions.

  2. Find Your Email Server Settings:

    • You will need your email provider's IMAP/POP3 server name, port numbers, and security settings (SSL/TLS). You can usually find these by searching "your email provider name IMAP POP3 settings" (e.g., "Gmail IMAP POP3 settings," "Outlook.com IMAP POP3 settings"). If you are using services for other providers, such as Web Services Worldwide, you will find this in your master email management control panel. Alternatively, you can seek this information from your email provider. Keep these handy.

  3. App Passwords/Less Secure Apps (for Gmail/Outlook.com):

    • If you use Gmail or Outlook.com and have Two-Factor Authentication (2FA) enabled, you will likely need to generate a specific "App Password" to allow Thunderbird to connect.

      • For Gmail: Go to your Google Account > Security > How you sign in to Google > App passwords.

      • For Outlook.com/Microsoft accounts: Go to your Microsoft account Security basics > Advanced security options > App passwords.

    • If you don't use 2FA, you might need to enable "Less secure app access" in your account security settings (though app passwords are more secure).

Crucial Warning: Before you delete anything from your server, ALWAYS verify that your local backup is complete and that you can access and read all your emails in Thunderbird.


Approach 1: Freeing Up Space with POP3

The "Download & Delete" Method

The POP3 (Post Office Protocol 3) method is ideal if your primary goal is to download emails to your computer and remove them from the server to free up space.

What is POP3?

Think of POP3 like picking up physical mail from a post office box. Once you pick it up, it is generally removed from the box. Similarly, POP3 downloads emails to your local device and, by default or as per configuration, can delete them from the mail server.

Important POP3 Limitation

A key point to understand is that POP3 is primarily designed to download messages from your main Inbox on the mail server. It typically cannot access or download emails from other folders you might have on the server, such as your Sent Items, Drafts, Trash, or any custom folders you have created online (e.g., "Work Mails," "Personal Archives"). If you need to back up emails from these other server-side folders, the IMAP approach (Approach 2) is necessary.

Step-by-Step Setup

  1. Open Thunderbird for the first time. It will prompt you to set up a new account. If not, go to File > New > Existing Mail Account...

  2. Enter your Name, Email Address, and Password. Click Continue.

  3. Thunderbird will try to find your settings. It might default to IMAP. This is where you need to click "Manual config".

  4. Configure for POP3:

    • Under "Incoming," change the dropdown to POP3.

    • Enter your Incoming (POP3) server hostname (e.g., pop.gmail.com).

    • Set the Port (e.g., 995 for SSL/TLS).

    • Set SSL to "SSL/TLS" and Authentication to "Normal password" (or "OAuth2" for Gmail/Microsoft if offered).

    • Enter your Outgoing (SMTP) server hostname and settings (your email provider's outgoing server). This doesn't affect backup but is needed for sending mail.

  5. Crucial POP3 Setting for Deletion: This is the most important step for freeing up server space.

    • Once your account is set up, in Thunderbird, go to Tools > Account Settings.

    • Select your newly configured POP3 account from the left panel.

    • Click on "Server Settings".

    • Look for the section "Message Storage."

    • Check the box for "Leave messages on server."

    • Crucially, then also UNCHECK or set "For at most X days" to "0" (zero) days, AND ensure "Until I delete them" is NOT checked. The goal is that when Thunderbird downloads the emails, they are immediately or soon after removed from the server. The exact phrasing might vary slightly, but you want Thunderbird to delete messages from the server after they are downloaded.

    • Click OK to save changes.

  6. Start Downloading: Thunderbird will begin downloading all emails currently in your server's Inbox to your computer. This might take a while if your mailbox is very large.

Can you Download only emails older than a specified date?

With POP3, the answer is NO. Standard POP3 fundamentally downloads all emails that are "new" to it since its last connection. It does not have a built-in feature to filter downloads based on a specific date (e.g., "only download emails older than January 1, 2024").

  • If you set up a POP3 account, on its first connection, it will generally download all emails currently residing in your server's Inbox.

  • After the initial download, it will only download genuinely new emails that arrive in your Inbox.

Therefore, if your goal is to download only older emails and then delete them from the server, POP3 isn't the direct solution for selective historical download. You would download everything, then manually sort and manage. For selective archiving from all folders, the IMAP approach (next section) combined with manual deletion is more suitable.

Caveat: Once emails are downloaded via POP3 and deleted from the server, they only exist on your local computer. Ensure you back up your Thunderbird profile regularly to prevent data loss.


Approach 2: Archiving from IMAP

The "Sync & Archive" Method

The IMAP (Internet Message Access Protocol) method is best if you want to initially synchronize your entire mailbox (including all folders) and then selectively move older messages to local storage to free up server space.

What is IMAP?

Think of IMAP as viewing a shared folder on a server. What you see on your computer is a reflection of what's on the server. If you delete an email from your IMAP account in Thunderbird, it gets deleted from the server too, and if you move an email between folders, that change also syncs.

Key IMAP Advantage

Unlike POP3, IMAP allows you to access, view, and manage all your email folders on the server, including your Inbox, Sent Items, Drafts, Trash, and any custom folders you have created online. This makes it ideal for a comprehensive backup.

Step-by-Step Setup

  1. Open Thunderbird (or go to File > New > Existing Mail Account...).

  2. Enter your Name, Email Address, and Password. Click Continue.

  3. Thunderbird will usually auto-configure for IMAP, which is what we want for this approach. If not, click "Manual config" and select IMAP for incoming.

  4. Configure for IMAP:

    • Under "Incoming," ensure IMAP is selected.

    • Enter your Incoming (IMAP) server hostname (e.g., imap.gmail.com).

    • Set the Port (e.g., 993 for SSL/TLS).

    • Set SSL to "SSL/TLS" and Authentication to "Normal password" (or "OAuth2").

    • Enter your Outgoing (SMTP) server hostname and settings.

  5. Connect: Click Done (or "Re-test" then "Done"). Thunderbird will synchronize your entire mailbox, including all folders, with the server. This may take some time.

Archiving Process to Free Server Space

Once your emails and folders are synced in Thunderbird (meaning you see all your server emails in your IMAP folders), you can begin the archiving process:

  1. Identify "Local Folders": In Thunderbird's left sidebar, scroll down. You will see a section called "Local Folders." This is a dedicated storage space on your computer, separate from your server-synced accounts, where you can safely store emails offline.

  2. Create Archive Folders (Optional, but Recommended): Inside "Local Folders," you might want to create sub-folders (e.g., "2023 Mail Archive," "Old Work Emails") to organize your backups. Right-click "Local Folders" and choose "New Folder."

  3. Move Emails to Local Folders:

    • Navigate to your IMAP account in Thunderbird.

    • Select the emails or even entire folders you want to archive (e.g., all emails from a specific year, or a "Project X" folder you created online). You can easily sort by date in any folder to find older messages.

    • Drag and Drop: Click and drag the selected emails/folders directly from your IMAP account into the desired sub-folder under "Local Folders."

    • Right-Click & Move To: Alternatively, right-click the selected emails, choose "Move To" or "Copy To", and then select a folder under "Local Folders." (Moving will delete from the original location; copying will duplicate).

  4. Confirm Deletion from Server (if you "Moved"): If you moved the emails, Thunderbird will automatically delete them from the IMAP server (since IMAP syncs changes). This action is what frees up server space. If you "copied," you will need to manually delete the original emails from the IMAP account after confirming the copy is successful in Local Folders.

Does IMAP allow Downloading only emails older than a specified date?

While IMAP doesn't have a direct "download only older than" filter for initial sync, once your account is synced in Thunderbird, you can easily sort your emails by date in any folder. This allows you to visually select all emails older than a certain date and then drag-and-drop them to your "Local Folders" for archiving. This gives you precise control over which older emails you move off the server.


After the Backup: What Next?

  • Accessing Your Backed-Up Emails: Your downloaded emails will always be accessible within Thunderbird under the "Local Folders" section, even when you are offline.

  • Back Up Your Thunderbird Profile: The "Local Folders" (and all your Thunderbird settings) are stored in your Thunderbird profile folder on your computer. To be truly safe, you should regularly back up this entire profile folder to an external drive or cloud storage. This protects your email archives if your computer ever fails.

    • You can find your profile location by going to Help > More Troubleshooting Information > Profile Folder > Open Folder.

  • Regular Maintenance: Make a habit of performing these backups periodically to keep your server space managed and your email archives up-to-date.

By leveraging Mozilla Thunderbird, you can take control of your email storage, back up your important messages, and say goodbye to "mailbox full" notifications, all without spending a single penny!



Share:
Buy Domain & Hosting from a trusted company
Web Services Worldwide
About the Author
Rajeev Kumar
CEO, Computer Solutions
Jamshedpur, India

Rajeev Kumar is the primary author of How2Lab. He is a B.Tech. from IIT Kanpur with several years of experience in IT education and Software development. He has taught a wide spectrum of people including fresh young talents, students of premier engineering colleges & management institutes, and IT professionals.

Rajeev has founded Computer Solutions & Web Services Worldwide. He has hands-on experience of building variety of websites and business applications, that include - SaaS based erp & e-commerce systems, and cloud deployed operations management software for health-care, manufacturing and other industries.


Refer a friendSitemapDisclaimerPrivacy
Copyright © How2Lab.com. All rights reserved.