mail
mail copied to clipboard
Thread summaries fail for threads across multiple mailboxes
Steps to reproduce
- Install integration_openai
- Receive an email
- Respond to that email
- 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