micz / ThunderAI

ThunderAI is a Thunderbird Addon that uses the capabilities of ChatGPT or Ollama to enhance email management.
https://micz.it/thunderbird-addon-thunderai/
GNU General Public License v3.0
15 stars 5 forks source link

Use the correct identity when replying #31

Closed micz closed 4 months ago

micz commented 4 months ago

Check if thunderbird is using the correct identity wehn replying to an email if there are more identity present in the profile.

As described here: https://addons.thunderbird.net/it/thunderbird/addon/thunderai/reviews/1173820/

micz commented 4 months ago

Found the problem. Extract from the Official Thunderbird Compose API documentation:

Note: If no identity is specified, this function is using the default identity and not the identity of the referenced message.

micz commented 4 months ago

The fix will be released in version 1.0.3.

Now ThunderAI looks for an identity email in the author, bcc, cc, recipient fields in the original message. If nothing is found it uses the first identity present in the profile.