Thunderbird extension that deletes all the read emails in the currently selected Thunderbird folder with a click of a button. Created because I seem to be the only one who has a need for this functionality or I'm somehow doing this the wrong way.
-
Tools:
- Install Extension Auto-Installer add-on in Thunderbird
- 7 Zip for packaging the XPI
- Unix tools (wget, bash, ...) - Cygwin and Msys2 does this for Windows users
- Working Python installation
-
Workflow:
- Pull changes from repo
- Add some feature
- Start Thunderbird
- Run
./xpi.sh
or justxpi
depending on the platform you're on to build thexpi
and install it in the currently running instance of Thunderbird which will restart immediately since most Thunderbird extensions are XUL based
Official channel: addons.mozilla.org
The toolbar button usually doesn't appear on first run meaning you'll have to right click on the mail toolbar, click customize and drag and drop the icon to the toolbar as shown below:
- Toolbar button
- Add-ons Manager
- Preference Window
The Thunderbird API is really poorly documented forcing you to rely on grepping through Thunderbird's source code and some well implemented Thunderbird extensions for working examples to build from. It can be one gruelling experience.
I found myself going through the source for these two extensions way too much and as such I have to give due credit. I learnt a lot from them:
Icon by Seanau