The decision
A choice over folders (invoice or receipt, customer question, sales enquiry, newsletter, spam), plus a noul question: "needs a reply today".
How to build it
- Read new mail over IMAP with a short Python script.
- Pull a small model. Julia 1 is 144M parameters and runs on a CPU:
systemone pull supersonic-labs/julia-1. - Classify each message, move it to its folder, and flag the ones needing a reply today.
- Run it every few minutes with cron.
Make it better
Keep a "moved by hand" log: every message you drag to another folder is a label. Fine-tune on them once you have a couple of hundred.