Fetch an email with imaplib but do not mark it as SEEN

You might also set read_only to true when selecting the folder:

imap_conn.select('Inbox', readonly=True)

Leave a Comment