Add-on preferences allow you to include/exclude Junk, Trash, none or both folders in emptying process. You can also choose to override delete confirmation for each folders. Compacting of emptied folders can also be enabled via preferences.
To enable debugging, you can enable verbose console messages via preferences.
Thanks to those who have provided detailed bug reports. Please continue to do so at:
A word of caution
The add-on involves deleting messages from Junk and Trash folders, so caution is advised.
If you have any trouble using this add-on, I'd appreciate if you mention that in the support site pointed to at the top of right column of this listing. This will help me improve the add-on, and make it work in scenarios I hadn't come across/tested.