This is an extension that adds a button to the message header toolbar to copy the message ID to the clipboard. This is useful for sending email replies via the command line.
- Checkout this repo
- Run
maketo generate thexpifile. - In Thunderbird, go to the
Add-ons Manager. - Click
Install Add-on From File...and select thexpifile from step 2.
The build requires GNU Make and Node.js, plus a zip tool.
- GNU Make — install via Chocolatey:
choco install makeor download from GnuWin32 - Node.js — download from nodejs.org
- 7-Zip — download from 7-zip.org. The build script
finds it automatically in
Program Fileswithout needing it on your PATH.
- GNU Make —
sudo apt install make/sudo dnf install make - Node.js —
sudo apt install nodejs/sudo dnf install nodejs - zip —
sudo apt install zip/sudo dnf install zip
make # builds copy-message-id@j.kahn.xpi
make clean # removes built xpi filesmake test-install builds the XPI, installs it into a dedicated
thunderbird-test profile, populates an inbox with the emails from tests/,
and launches Thunderbird automatically:
make test-installThunderbird will open with a fresh profile containing all the test messages. Open any message and click the Copy Message ID button (or use the keyboard shortcut) to test the addon.
Re-running make test-install reinstalls the latest build into the same
profile — no need to restart or toggle the addon.