Search code examples
pythongmailimappop3imaplib

get email unread content, without affecting unread state


Right now its a gmail box but sooner or later I want it to scale.

I want to sync a copy of a live personal mailbox (inbox and outbox) somewhere else, but I don't want to affect the unread state of any unread messages.

what type of access will make this easiest? I can't find any information if IMAP will affect the read state, but it appears I can manually reset a message to unread. Pop by definition doesn't affect unread state but nobody seems to use pop to access their gmail, why?


Solution

  • if it helps anyone, GAE allows you to receive email as an HTTP request, so for now i'm just forwarding emails there.