- Builds a list of sequence/uid sets. The returned sets have each no more than around 1000 characters because according to https://tools.ietf.org/html/rfc2683#section-18.104.22.168 command lines should not be much more than 1000 chars (servers should allow at least 8000 chars)
- Deprecated, use get_uid_next() and get_uidvalidity()
- Parses the headers from the FETCH result.
- Try to get the folder meaning by the name of the folder only used if the server does not support XLIST.
- Compute the imap search expression for all self-sent mails (for all self addresses)
- uid_next is the next unique identifier value from the last time we fetched a folder See https://tools.ietf.org/html/rfc3501#section-22.214.171.124 This method returns the uid_next from the last time we fetched messages. We can compare this to the current uid_next to find out whether there are new messages and fetch from this value on to get all new messages.
- Marks messages in
msgstable as seen, searching for them by UID.
- Schedule marking the message as Seen on IMAP by adding all known IMAP messages corresponding to the given Message-ID to
- Returns chat by prefetched headers.
- Determines whether the message should be downloaded based on prefetched headers.
- uid_next is the next unique identifier value from the last time we fetched a folder See https://tools.ietf.org/html/rfc3501#section-126.96.36.199 This function is used to update our uid_next after fetching messages.
- Whether to ignore fetching messages from a folder.
- Returns target folder for a message found in the Spam folder. If this returns None, the message will not be moved out of the Spam folder, and as
fetch_new_messages()doesn’t download messages from the Spam folder, the message will be ignored.
ConfiguredSentboxFolderif the message needs to be moved from
folder. Otherwise returns