PopIt3 — Email Routing

Emails are fetched via POP3 from MS Live (Outlook OAuth2, see msauth). The dispatcher in process_emails.py reads the To: header and calls the matching handler from the map list.

Current Routing Table

Handlers that delete from POP3 server return the set of UIDLs to delete; handlers that keep mail on the server return an empty set.

IMAP Delivery

All IMAP routes are config-driven via imap_folders.yml and loaded by imap_deliver.load_routes(). Adding a new route requires only a line in the YAML file. See popit3/imap-delivery for details.

See Also

popit3/imap-delivery — imap_deliver.py and imap_folders.yml. popit3/vodafone-handler — Vodafone email classification. popit3/outlook-to-analysis — header store and analysis sheet.

Per-recipient message-size logging (added 2026-07-08): do_processing() logs total/average byte size per recipient alongside the existing count, to help prioritize automation targets. See popit3/process-emails.

version 2  ·  updated 2026-06-26