class email.headerregistry.ContentDispositionHeader A ParameterizedMIMEHeader class that handles the
email.utils.parsedate(date) Attempts to parse a date according to the rules in
fold(name, value) The email package calls this method with the name and value currently stored in the Message
flatten(msg, unixfrom=False, linesep=None) Print the textual representation of the message object structure rooted at msg
MimeTypes.types_map_inv Tuple containing two dictionaries, mapping MIME types to a list of filename extensions: the first dictionary
email.charset.add_charset(charset, header_enc=None, body_enc=None, output_charset=None) Add character properties to the global
set_unixfrom(unixfrom) Set the message’s envelope header to unixfrom, which should be a string.
email.utils.encode_rfc2231(s, charset=None, language=None) Encode the string s according to
username The username portion of the address, with all quoting removed.
get_params(failobj=None, header='content-type', unquote=True) Return the message’s Content-Type
Page 5 of 44