Email, Messaging, & Video Calls > Email Compacting Folders in Mozilla Thunderbird Delete unwanted messages and free up some space By Heinz Tschabitscher Heinz Tschabitscher Writer University of Vienna A former freelance contributor who has reviewed hundreds of email programs and services since 1997. lifewire's editorial guidelines Updated on July 9, 2021 Email Yahoo! Mail Gmail Trending Videos Close this video player What to Know Deleted messages aren't truly deleted but rather marked and hidden. Compacting fully deletes them.To compact, select File > Compact Folders. This process may take time if it's been a while since the last compacting.Settings for automatic or periodic compacting: Tools > Settings/Options > Advanced > Network & Disk Space. Deleting messages in Mozilla Thunderbird doesn't trash them completely; rather, it marks them as deleted and hides them from displaying. This can speed things up, but these messages still consume hard disk space. Compacting is the process of totally deleting these marked messages, clearing space in your inbox. Here's how to compact folders in Mozilla Thunderbird, both manually and automatically via settings. The instructions here were tested in Thunderbird version 78.11 for macOS, but the processes should look similar in Windows and Linux versions. How to Compact Folders in Mozilla Thunderbird Select File > Compact Folders. If your folders are large and you deleted lots of messages since the last compacting, this process may take some time. How to Compact Folders Automatically You can set up Mozilla Thunderbird to free disk space automatically—with or without prompting. Here's how: Select Thunderbird > Preferences. Scroll down to Compact folders when it will save over_MB, and enter your desired disk space threshold. The default value is 20 MB, which is fine under most circumstances, but if you find Mozilla Thunderbird compacting often, you can increase the trigger to 100 or 200 MB, for example. Choose Close. Folder Compacting Options and Settings To compact a folder when prompted, select Compact Now under Do you wish to compact all local and offline folders to save disk space. To make Mozilla Thunderbird compact without prompting in the future, make sure Always ask me before compacting folders automatically is not checked. To choose whether you are prompted when Mozilla Thunderbird is about to compact folders automatically: From the menu bar, select Preferences. Scroll down to and select Config Editor. Click I accept the risk if prompted. Under Search, type mail.purge.ask. Double-click mail.purge.ask under Preference Name to toggle its setting (visible under Value). False does not prompt you when automatically compacting folders.True asks you before compacting folders automatically. Close the about:config preferences window and select Close. If you find messages missing or deleted emails appearing after compacting your folders, rebuild or repair their indices. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit