BulkDelete is a Thunderbird MailExtension that allows you to efficiently bulk delete emails using multiple filtering options. Whether you need to remove just one email or clean up your inbox by sender, address, or domain, BulkDelete makes it easy.
BulkDelete provides four powerful deletion options:
- Delete a single email – Manually remove a specific email.
- Delete all emails from a sender's name – Deletes emails from a particular sender (e.g.,
"John Doe" <john@example.com>
). - Delete all emails from a sender’s address – Removes all emails from an exact email address (e.g.,
john@example.com
). - Delete all emails from a domain – Clears all emails from a specific domain (e.g.,
@example.com
).
The deletion feature now includes a dropdown menu that allows users to refine the scope of message deletion. Users can choose to:
- Delete messages only from the current folder.
- Delete messages from all folders within the current account.
- Delete messages from all folders across all accounts.
- Include or exclude messages in Spam and Trash folders for greater control.
You can download the latest version of BulkDelete here.
To build the extension from source, follow these steps:
- Navigate to the project directory: Open your terminal or command prompt and go to the project folder.
- Run the appropriate compile script based on your operating system:
- Node.js: Run
node compile.js
(requires Node.js). - Unix & macOS: Run
compile.sh
(requires/bin/sh
and 7z or zip installed). - Windows (with .NET): Run
compile.ps1
(requires PowerShell and .NET). - Windows (with 7z/zip): Run
compile-z.ps1
(requires PowerShell and 7z or zip installed).
- Node.js: Run
Alternatively, you can build the extension using:
npm run compile
The compiled .xpi
file will be located in the build
directory.
To install BulkDelete in Thunderbird:
- Open Thunderbird.
- Navigate to Menu (hamburger icon) → Add-ons and Themes.
- Click Tools for Add-ons (gear icon) → Install Add-on From File.
- Select the
BulkDelete.xpi
file and install it.
To maintain a clean and efficient codebase, use the following tools:
Format the code by running:
npm run format
Check for code issues with:
npm run lint
To compile the extension:
npm run compile
BulkDelete includes automated tests to ensure proper functionality.
-
Install dependencies:
npm install
-
Run the test suite:
npm run test
Running tests regularly helps catch and fix any issues before releasing updates.
If you find BulkDelete useful, consider supporting development:
BulkDelete is licensed under the Mozilla Public License 2.0 (MPL-2.0). See the LICENSE file for details.
The icon was created by I Putu Kharismayadi and is available on FlatIcon.