Brummolix / AutoarchiveReloaded

Thunderbird extension for autoarchiving mails
Other
19 stars 6 forks source link

[feat] Archive unread unless starred #92

Open pwnorbitals opened 1 month ago

pwnorbitals commented 1 month ago

Hi, my use-pattern is starring messages I'd like to keep (without necessarily reading them), but having auto-archive active for all other messages. Reading through Archiver::shallMessageBeArchived it feels like this use-case isn't supported (all unread messages get archived if their expiration time has reached, regardless of starred status).

https://github.com/Brummolix/AutoarchiveReloaded/blob/0fdd084dad0c275296f7c1744657df41a7aa659d/src/backgroundScript/Archiver.ts#L202-L271

I'm wondering if that's a use case the extension aims to support. Thanks !

Brummolix commented 1 month ago

A message is not simply archived if it is unread. For example, if a message is unread and flagged (marked with a star), it will be archived:

For your scenario you have to setup:

Did you try?