Open pjw91 opened 9 years ago
Gmail support "Search X-GM-RAW ..." command, which we can use gmail.imap.uid('SEARCH', 'X-GM-RAW', .....) to fetch email;
gmail.imap.uid('SEARCH', 'X-GM-RAW', .....)
but I need the result to be wrapped as the Message object.
Message
Which means, separate the Mailbox.mail function into fetching part and wrapping part.
Mailbox.mail
Gmail support "Search X-GM-RAW ..." command, which we can use
gmail.imap.uid('SEARCH', 'X-GM-RAW', .....)
to fetch email;but I need the result to be wrapped as the
Message
object.Which means, separate the
Mailbox.mail
function into fetching part and wrapping part.