get_file(key) Depending upon the host platform, it may not be possible to modify or remove the underlying message while the
flush() All changes to Maildir mailboxes are immediately applied, so this method does nothing.
mimetypes.guess_extension(type, strict=True) Guess the extension for a file based on its MIME type, given by type.
__getitem__(key) Return a representation of the message corresponding to key. If no such message exists, default
class email.mime.text.MIMEText(_text, _subtype='plain', _charset=None) Module: email.mime.text A
get_visible() Return an Message instance whose headers are the message’s visible headers and whose body is empty
class mailbox.MH(path, factory=None, create=True) A subclass of Mailbox for mailboxes in MH format. Parameter factory
refold_source If the value for a header in the Message object originated from a
get_labels() Return a list of the names of all user-defined labels used in the mailbox.
remove(key) __delitem__(key) discard(key) These methods immediately
Page 20 of 44