About this Add-on
Go into the Options dialog to set the name of the script you want to run.
In the dialog, you can tell Thunderbird to wait (block) until the script finishes. There's also a field to configure any additional wait time.
I use this addon to trigger fetchmail to run. It pulls down my mail from the server to my desktop. I only have Thunderbird configured to check for mail locally. Perhaps a little odd, I know. I could use Thunderbird to check external mail servers directly.
But I have too many filters running in fetchmail...and I need all that to continue even when I'm not sitting at the desktop with Thunderbird open.
This was a good solution for me and allowed me to experiment with writing an extension. Hopefully, someone else out there will find it useful.