Module imap

Source

Staticsยง

FETCH_MESSAGES
The IMAP fetch items needed to retrieve everything we need to build an envelope: UID, flags and envelope (Message-ID, From, To, Subject, Date).
PEEK_MESSAGES
Same as FETCH_MESSAGES, but with peek set a true.