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.
Origin
Section titled “Origin”3,849 newsletters swept in one run, zero keepers lost.
Quirk it encodes
Section titled “Quirk it encodes”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.