Skip to content

Reply function does not use Account Identity #627

@rbu

Description

@rbu

The problem

When using ThunderAI to generate a reply from an email view (not the compose window), it should be using the same logic as Thunderbird to select the Sender Identity (From field). As a result of #369, there is some logic to determine the correct identity, but it is wrong in at least 2 cases:

  • An account (inbox folder) is receiving an email based on an alias set up for that account, i.e. the From would me ([email protected]) whereas the To in the email I am viewing could be the entire family ([email protected]).
  • The sender of the email I am viewing included me as a Bcc.

In both cases, the To/Cc fields would not contain any of the known From addresses and ThunderAI's logic fails.

Notably, Thunderbird itself does select the correct identity in both these cases when using the "Reply" button, based on the email being in a folder associated with an account and the sender identity being linked to that account.

Which Operative System are you using?

Windows 11

Which version of Thunderbird are you using?

147.0.1

Which version of ThunderAI has the issue?

3.8.3.0

Which integration are you using?

Claude API

Anything in the Thunderbird console logs that might be useful?

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstatus: ready for releaseWork complete in the next release branch.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions