__len__() Return the total number of headers, including duplicates.
__contains__(name) Return true if the message object has a field named name. Matching is done case-insensitively and
clear() Delete all messages from the mailbox.
__iter__() values() Return an iterator over representations of all messages if called as itervalues()
walk() The walk() method is an all-purpose generator which can be used to iterate over all the parts and subparts
base64.a85encode(b, *, foldspaces=False, wrapcol=0, pad=False, adobe=False) Encode the bytes-like
set_flags(flags) Set the flags specified by flags and unset all others. Parameter flags should be the concatenation
header_encoding If the character set must be encoded before it can be used in an email header, this attribute will be set to
replace_header(_name, _value) Replace a header. Replace the first header found in the message that matches _name, retaining
maintype
Page 39 of 44