values() Return a list of all the message’s field values.
header_source_parse(sourcelines) The email package calls this method with a list of strings, each string ending with the line
header_factory A callable that takes two arguments, name and value, where name is a header
email.iterators.typed_subpart_iterator(msg, maintype='text', subtype=None) This iterates over all the subparts of msg
class email.headerregistry.Group(display_name=None, addresses=None) The class used to represent an address group. The general
MimeTypes.guess_type(url, strict=True) Similar to the guess_type() function, using the tables stored as part of
__setitem__(name, val) Add a header to the message with field name name and value val. The field is appended
set_labels(labels) Set the list of labels on the message to labels.
add_label(label) Add label to the list of labels on the message.
add_flag(flag) Set the flag(s) specified by flag without changing other flags. To add more than one flag at a time
Page 22 of 44