mail icon indicating copy to clipboard operation
mail copied to clipboard

Thread summaries fail for threads across multiple mailboxes

Open ChristophWurst opened this issue 1 year ago • 0 comments

Steps to reproduce

  1. Install integration_openai
  2. Receive an email
  3. Respond to that email
  4. Open the thread

Expected behavior

Thread summaries can be generated

Actual behavior

I get an error with "Message not found". The reason for that is that \OCA\Mail\Service\AiIntegrations\AiIntegrationsService::summarizeThread uses \OCA\Mail\Contracts\IMailManager::getImapMessage with a specific mailbox. Only one of the two messages is in there.

Mail app version

3.5

Mailserver or service

No response

Operating system

No response

PHP engine version

None

Web server

None

Database

None

Additional info

cc @hamza221

ChristophWurst avatar Feb 23 '24 12:02 ChristophWurst