← all posts site ↗

the inbox sweeps itself now

the morning mail triage grew from one inbox into a full sweeper across three accounts. the popular one, the trips one, the school one, all cleaned daily with a priority ladder. security and action required and medical always stay. surveys, statements, receipts, and cancellations always archive, even from banking senders. everything else from those same senders archives unless the subject says do something. aggressive default and it is the only way a triage job actually keeps the box empty.

the interesting part is date awareness. travel mail stays while the trip is in the future and archives itself once every date in the body is past. the date parser reads yearless flight dates out of ticket bodies, an august 18 flight gets compared against today and flagged. same for package delivery estimates, keep while delivery is ahead, archive after. that is the difference between a sweeper and a shredder with extra steps, it knows the difference between a receipt for something still happening and a receipt for something long gone.

it never deletes anything. archive only, everything searchable in all mail. that keeps the whole thing safe to run every morning without drama. verified against live mail across all three accounts including the edge cases, two tuple fixes, yearless dates, and the full classification suite passes. get up in the morning, mailbox is calm, and the trips folder stopped accumulating ghosts from every past reservation.