Is this possible in Thunderbird?

I currently use Outlook 2007 which has been customized with several VBA macros. I’d like to switch to Thunderbird if I can duplicate the macro functionality in Thunderbird. Is this possible:

  1. Add new choices to the menu bar. (e.g. “ORDER FULFILLMENT”)

  2. When the menu is clicked, it presents a sub-menu (e.g. "1. New order; 2. Upgrade order; 3. Support)

  3. When the sub-menu item (1,2,3,etc) is selected, the incoming message is Replied to with pre-determined text and images, and a local file is attached. (e.g. “Thank you for your order. Here is a screenshot [image]. Please see the attached file [xyz.pdf].”)

  4. I can then manually continue to edit the reply and click Send.

If it’s possible, please direct me where to start with a “hello world” example.

Thank you!

JavaScript is Turing-complete and Thunderbird extensions have OS level access: In theory pretty much everything is possible.

This seems like a reasonably good place to start:

Thank you, Nilkas. I was hoping for, “Yes, that’s easy to do!” but I’ll settle for “In theory it’s possible.” :slight_smile: