New unread messages in IMAP not showing up in list
问题 I am using imaplib to try and fetch new unread messages from an IMAP server. When I first connect, I properly get all of the unread messages. However, new mesages that arrive after I connect will not show up in the results of searching on (UNSEEN) . I thought at first I would simply need to send a NOOP with noop() before running the search again, but that is not helping. Same with recent() and check() in imaplib. Is there something else I need to do to refresh the connection on my client side