Skip to content

feat(summary): add AI-powered message summary feature#640

Closed
yonie wants to merge 8 commits intomicz:v4.0.0from
yonie:feature/auto-summary
Closed

feat(summary): add AI-powered message summary feature#640
yonie wants to merge 8 commits intomicz:v4.0.0from
yonie:feature/auto-summary

Conversation

@yonie
Copy link

@yonie yonie commented Feb 6, 2026

Summary

Adds automatic AI-powered email summarization feature to ThunderAI that generates concise summaries for email messages when they are previewed.

Changes

  • New content script (messageDisplay/message-content-script.js) that creates a summary pane in the message display
  • CSS styling (messageDisplay/message-content-styles.css) for the summary UI
  • Backend integration for AI summary generation
  • Preference option (auto_summary_enabled) to enable/disable the feature
  • Multi-language support with translations for all supported locales

Features

  • Shows a loading indicator while generating the summary
  • Displays AI-generated summary (3-5 sentences capturing main points)
  • Falls back gracefully if AI generation fails
  • Works with all configured AI integrations (ChatGPT, Claude, Gemini, Ollama, etc.)

Screenshot

image

Notes

  • Feature is disabled by default
  • Users can enable it in ThunderAI preferences
  • Summary is generated automatically when opening/previewing emails

yonie added 8 commits February 6, 2026 10:34
Add new ThunderAI summary functionality that generates concise summaries
for email messages using the existing ThunderAI infrastructure. Includes
a new content script that creates a summary pane in the message display,
associated CSS styling, and backend integration for AI summary generation.

The feature shows a loading indicator while generating the summary and
falls back to showing truncated message content if the AI generation fails.
- Add new preference option to enable automatic AI summarization
- Update all localization files with new preference text
- Implement preference check in message display script
- Add default preference setting in options configuration
- Include preference toggle in options UI

This adds a user-configurable option to automatically generate and display AI summaries when viewing email messages, with appropriate warnings about data transmission to AI services.
…pport and fix error display

- Introduce localized UI strings for auto-summary feature across multiple languages
- Standardize error messages and implement consistent error propagation
- Refactor summary generation to align with v3.8.0 settings architecture
- Enhance user experience with localized loading and error states
- Improve code reliability through structured error handling and cleanup
- Add new translation strings for auto summary feature in bg, de, el, eo, es, fr, hr, hu, it, pl, pt-br, pt, ro, sk, and sv locales
- Include preference options, title, status messages, and prompt templates
- Remove unnecessary description fields from existing strings
… locales

- Add new translation strings for auto summary feature
- Include title, generating, failed, and prompt messages
- Remove unnecessary description fields from en locale
- Add missing auto summary preference strings for zh_Hant locale
@yonie
Copy link
Author

yonie commented Feb 6, 2026

Closing in favor of reopened PR #579

@yonie yonie closed this Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant