https://github.com/nkmathew/delete-read-emails
Thunderbird extension that adds a button in your toolbar for deleting all the read emails at once
https://github.com/nkmathew/delete-read-emails
thunderbird-extension toolbar toolbar-button
Last synced: about 1 month ago
JSON representation
Thunderbird extension that adds a button in your toolbar for deleting all the read emails at once
- Host: GitHub
- URL: https://github.com/nkmathew/delete-read-emails
- Owner: nkmathew
- Created: 2016-12-21T17:39:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-07T10:04:42.000Z (about 9 years ago)
- Last Synced: 2025-03-04T00:51:31.417Z (over 1 year ago)
- Topics: thunderbird-extension, toolbar, toolbar-button
- Language: JavaScript
- Size: 305 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
[![Downloads][9]][8]
[![Rating][10]][12]
[![Stars][11]][8]
### Delete Read Emails
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.
### Development
- Tools:
+ Install [Extension Auto-Installer][3] add-on in Thunderbird
+ [7 Zip](http://www.7-zip.org/download.html) for packaging the XPI
+ Unix tools (wget, bash, ...) - [Cygwin][2] and [Msys2][4] does this for Windows
users
+ Working Python installation
- Workflow:
+ Pull changes from repo
+ Add some feature
+ Start Thunderbird
+ Run `./xpi.sh` or just `xpi` depending on the platform you're on to build the
`xpi` and install it in the currently running instance of Thunderbird which will
restart immediately since most Thunderbird extensions are [XUL][1] based
### Installation
Official channel: [addons.mozilla.org][8]
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:

### Screenshots
+ Toolbar button

+ Add-ons Manager

+ Preference Window

### Credits
The [Thunderbird API][6] is really poorly documented forcing you to rely on grepping
through [Thunderbird's source code][5] 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:
+ https://github.com/nmaier/mintrayr
+ https://github.com/RealRaven2000/QuickFolders
Icon by [Seanau][7]
---
[1]: https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL
[2]: https://www.cygwin.com/
[3]: https://addons.mozilla.org/en-us/firefox/add-on/autoinstaller/
[4]: http://msys2.github.io/
[5]: https://dxr.mozilla.org/comm-central/source/
[6]: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_API_documentation
[7]: http://www.iconarchive.com/show/email-icons-by-seanau/Delete-icon.html
[8]: https://addons.mozilla.org/en-US/firefox/addon/delete-read-emails/
[9]: https://img.shields.io/amo/d/delete-read-emails.svg
[10]: https://img.shields.io/amo/rating/delete-read-emails.svg
[11]: https://img.shields.io/amo/stars/delete-read-emails.svg
[12]: https://addons.mozilla.org/en-US/firefox/addon/delete-read-emails/reviews/