Skip to content

The Needs-Action Scorer

Lives in src/classify/needs-action.ts.

A weighted keyword score over subject + snippet + sender name: 63 EN+DE phrases at +3 (“action required”, “deadline”, “Frist”, “Mahnung”, …), 22 receipt/shipping/newsletter exclusions at −2, unread +1, personal-sender-awaiting-reply +4, threshold 3, over a 60-day window.

Surfaced the handful of emails needing a human among thousands.

Bilingual by necessity — a German inbox scores “Frist” exactly like “deadline”.