Add unread-only option for rules

This commit is contained in:
Jordan Wages 2025-07-15 22:12:35 -05:00
commit 85224f2d4d
3 changed files with 34 additions and 13 deletions

View file

@ -17,7 +17,7 @@ message meets a specified criterion.
- **Markdown conversion** optionally convert HTML bodies to Markdown before sending them to the AI service.
- **Debug logging** optional colorized logs help troubleshoot interactions with the AI service.
- **Light/Dark themes** automatically match Thunderbird's appearance with optional manual override.
- **Automatic rules** create rules that tag, move, mark read/unread or flag/unflag messages based on AI classification.
- **Automatic rules** create rules that tag, move, mark read/unread or flag/unflag messages based on AI classification. Rules can optionally apply only to unread messages.
- **Rule ordering** drag rules to prioritize them and optionally stop processing after a match.
- **Context menu** apply AI rules from the message list or the message display action button.
- **Status icons** toolbar icons show when classification is in progress and briefly display success or error states.
@ -71,7 +71,8 @@ Sortana is implemented entirely with standard WebExtension scripts—no custom e
1. Open the add-on's options and set the URL of your classification service.
2. Use the **Classification Rules** section to add a criterion and optional
actions such as tagging or moving a message when it matches. Drag rules to
reorder them and check *Stop after match* to halt further processing.
reorder them, check *Only apply to unread messages* to skip read mail, and
check *Stop after match* to halt further processing.
3. Save your settings. New mail will be evaluated automatically using the
configured rules.