I couldn't find my exact question so here goes:
I am using the poplib
module and can successfully retrieve emails from my inbox and delete those read. However, I would like to only retrieve those emails with a specific subject line (so I can filter out spammed or incorrectly sent messages). Upon retrieval I would then like the messages that were retrieved to be deleted.
Is this possible with poplib
and maybe another module I don't know about?