ThunderAI icon indicating copy to clipboard operation
ThunderAI copied to clipboard

ThunderAI fails to read email body on Thunderbird 145: “Missing host permission for the tab” / “Receiving end does not exist”

Open pereiricardo-dotcom opened this issue 4 weeks ago • 5 comments

The problem

I am using Thunderbird 145.0 on Windows, together with the latest public version of ThunderAI. All prompts appear correctly in the UI, but none of them execute when selecting a message in the inbox.

ThunderAI cannot retrieve the message body. Every attempt to run a prompt triggers the same error.

This issue is happenning in Thunderbird 145. (Addon says it's compatible with Thunderbird 115+)

Ran some screenshots through ChatGPT for solutions and he suggests that:

This may be caused by the new Message Reader WebView sandbox, which blocks content script injection and tab-level host permissions required by ThunderAI.

Which Operative System are you using?

Windows 11

Which version of Thunderbird are you using?

145.0

Which version of ThunderAI has the issue?

3.7.5

Which integration are you using?

OpenAI ChatGPT API

Anything in the Thunderbird console logs that might be useful?

ExtensionError: Missing host permission for the tab

Error executing action for menu item 2-reply_technical(auto-language): Error: Could not establish connection. Receiving end does not exist.
getMailBody moz-extension://f8c80af5-f862-4624-a912-3ccc45d534f8/js/mzta-menus.js:97

Additional information

No response

pereiricardo-dotcom avatar Nov 25 '25 16:11 pereiricardo-dotcom

I'm not able to replicate the error. May you activate the debug option in the ThunderAI options page, clear the console, try again and then post the full log here? Thank you.

micz avatar Nov 25 '25 21:11 micz

Are you using an EWS native account with an Exchange server?

micz avatar Nov 25 '25 21:11 micz

Are you using an EWS native account with an Exchange server?

Hi, thanks for the answer

Yes, using thunderbirds native ews on an Office 365 account

pereiricardo-dotcom avatar Nov 25 '25 21:11 pereiricardo-dotcom

I'm not able to replicate the error. May you activate the debug option in the ThunderAI options page, clear the console, try again and then post the full log here? Thank you.

I'll do this tomorrow, when back in the office. Cheers

pereiricardo-dotcom avatar Nov 25 '25 21:11 pereiricardo-dotcom

I was able to replicate the error, there is no need to send more logs, it only happens with EWS accounts. I've filed a bug for Thunderbird: https://bugzilla.mozilla.org/show_bug.cgi?id=2002416

Thank you.

micz avatar Nov 25 '25 22:11 micz

The fix should be released in Thunderbird 147.

micz avatar Dec 04 '25 21:12 micz