email.charset.add_codec(charset, codecname) Add a codec that map characters in the given character set to and from Unicode.
class email.generator.BytesGenerator(outfp, mangle_from_=True, maxheaderlen=78, *, policy=None) The constructor for the
update(arg) Parameter arg should be a key-to-message mapping or an iterable of (key, message)
base64.decodebytes(s) base64.decodestring(s) Decode the bytes-like object
class email.parser.Parser(_class=email.message.Message, *, policy=policy.compat32) The constructor for the Parser
lock() Acquire an exclusive advisory lock on the mailbox so that other processes know not to modify it. An ExternalClashError
add_header(_name, _value, **_params) Extended header setting. This method is similar to __setitem__() except that
class mailbox.MaildirMessage(message=None) A message with Maildir-specific behaviors. Parameter message has the same
add_alternative(*args, content_manager=None, **kw) If the message is a multipart/alternative, create a new message
get_folder(folder) Return a Maildir instance representing the folder whose name is folder. A No
Page 38 of 44