MacSweep, a macOS Gmail cleaner from GitHub user skyjuice, decides what to do with a sender rather than classifying every message. Jev supplies a category, an estimate of how useful the sender is to the reader, and a score for how promotional the mail is. The app turns those answers into a cleanup plan.
Ask a second model only when needed
- The classifier sends sender details, recent subjects, a short preview and mailbox activity to a hosted model through OpenRouter. The desktop app keeps its database locally, but classification sends some mail data off the Mac.
- A refusal, weak category score, close race between categories or ambiguous usefulness can trigger a second model. When it changes the category, MacSweep clears Jev’s category probability rather than attaching the old number to the new label.
Preview the action and name what Undo covers
- The cleanup planner checks mailbox rules and lets explicit user choices take precedence over recommendations. The stricter auto-only filter uses a saved eligibility flag. A regular clean can still act on a recommendation, so the preview matters.
- The executor records the unsubscribe outcome and can archive mail even when the unsubscribe fails. Undo uses logged message IDs to restore mail. It cannot take back an unsubscribe request.
Caveat: We inspected the code and did not run the app or call either model. Typed answers make a cleanup rule easier to write; the source does not establish how often Jev correctly identifies senders a user wants to lose.