by PenisBanana · 2y ago · 0 comments
I asked:
how would I:
- use IMAP to read email from my email server
- call a local LLM (say ollama) to classify the email
- file each email into one of N folders or maildirs or mboxes ?
and received a reasonable python program.
Yes, one copy of each email; yes, I don't want to handle each (any) email multiple times, even if the second is a once-a-week mass delete of have-processed-already emails.