I love the idea of this extension! However, I am not trusting the LLM to make direct changes to my email. I have the following proposal, but I lack the experience with Thunderbird extension development to judge its feasibility.
It would be great to see what changes the LLM suggested using underscored text (like with spellcheck) for only the text that changed. Something like this in Gmail:
How I imagine the flow:
Prompt to the LLM exactly as it is now.
Running some diff library on the input and output text to detect the changed parts of the text.
Iterating through the changes, and for each of them, underscore the text (here I hope that Thunderbird addons have the API), ideally using other color than spellcheck (blue would be great). When user right clicks it, it shows the text by the LLM. Bonus points for productivy if the context button is shown already by placing cursor on it and by tab one would accept the change.
I think it would also resolve the issues regarding HTML content. The LLM input can be cut to plaintext only. Formatting is embedded in the input text, and LLM does not work with it at all.
I am sorry if my thinking is naive and in practice it is super complex.
Hi,
I love the idea of this extension! However, I am not trusting the LLM to make direct changes to my email. I have the following proposal, but I lack the experience with Thunderbird extension development to judge its feasibility.
It would be great to see what changes the LLM suggested using underscored text (like with spellcheck) for only the text that changed. Something like this in Gmail:
How I imagine the flow:
I think it would also resolve the issues regarding HTML content. The LLM input can be cut to plaintext only. Formatting is embedded in the input text, and LLM does not work with it at all.
I am sorry if my thinking is naive and in practice it is super complex.