Skip to content

The Newsletter Sweep

Lives in src/pipeline/sweep.ts.

Full-text unsubscribe heuristic in, keep-list out, label + archive. The keep-list is enforced twice: as a server-side notFrom filter and re-checked client-side against every result.

3,849 newsletters swept in one run, zero keepers lost.

Fastmail’s -from: search operator takes literal addresses only — domain negation is silently ignored — so the client-side re-check is mandatory, not defensive. An empty keep-list logs a warning.