Reply with subaddress 0.2.0
by astehlik
Reply to a message that was sent to a subaddess with the same address.
Example: Your primary email is tim@mymail.tld, you receive a mail to the subaddress tim+mailinglists@mymail.tld, the sender of replies is set to tim+mailinglists@mymail.tld.
About this Add-on
Example
- Your primary email is tim@mymail.tld
- You receive an email to the subaddress tim+mailinglists@mymail.tld
- You create a reply to this email
- The sender of the reply is automatically changed to tim+mailinglists@mymail.tld
Required permissions
- tabs: watch for new tabs of type messageCompose with an event listener to browser.tabs.onCreated. We need the tab.id to fetch the Compose details.
- compose: fetch the Compose details to check if the created message is a reply to a message sent to a subaddress. If it is a reply we set the From-Address to the subaddress if required.
- messagesRead: fetch the message that the user replies to. The message is needed to get its recipients to check if it was sent to a subaddress.
Known issues
There is a Bug in Thunderbird that causes problems when you try to reply to a message that was sent from another Thunderbird account. For testing please send the test mails from an address that does not belong to one of your accounts.