About this Add-on
You have to send a lot of patches to mailing list with the
git send-emailcommand line utility, but are tired of manually picking email addresses and email IDs to paste them in your command line? This Thuderbird add-on has been made just to address your needs. From a given email in Thuderbird, it generates the whole command line to answer to this email and selects it; all you need to do is to copy/paste this single line into your terminal to send your patch.
Oh, well, technically you still have to add the name of the patch you want to send… but the
--in-reply-to=should all be handled for you.
Once installed, go to Thunderbird and select an email, and go to the email pane (the one in which the body of the email is displayed). You have
Junkbuttons and so on at the top of the pane, on the header box. The last of those buttons labeled
More ⏷. It opens a drop-down menu if you click on it. Do so: there is now a new item entitled Generate patch command. This is it! Click on it, and a pop-up window will show you the generated command line, already selected for you to copy.
Note that the text box is editable, so that you can edit the command before you copy it.
Always be extremely careful with what you copy and paste into your terminal. People have shown many times that it is possible to hide rogue code. Even if this add-on is on Mozilla's official platform, you should remain careful.
Also, it could be that some input coming from the headers will break the commands. The add-on encloses it with single quotes, and tries to escape single quotes coming from the input, but there might be some subtleties I forgot to deal with. Just be cautious, and check for correctness of the command.
Be cautious before you validate your command line: read and proofread whatever command you enter. The add-on provide the commands as a best effort, but is not error prone. I will not be responsible if you send trash to a public mailing list, or if you send emails to the wrong people. So again: verify that everything looks fine before sending the email.