or use POP , POP3, whatever, which will delete the email off the server - which (unpopular opinion) is a feature not a bug.
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.
I have not, but I just asked chatGPT and it, chatGPT, suggested a starting point solution.
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.
Yeah that's definitely a reasonable idea, thanks
or use POP , POP3, whatever, which will delete the email off the server - which (unpopular opinion) is a feature not a bug.
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.