get_labels() Return a list of labels on the message.
is_attachment() Return True if there is a Content-Disposition header and its (case
clone(fp) Return an independent clone of this Generator instance with the exact same options.
decode(s) Return the Python representation of s (a
email.encoders.encode_noop(msg) This does nothing; it doesn’t even set the Content-Transfer-Encoding
cte Valid values are 7bit, 8bit, base64, and quoted-printable. See
email.utils.decode_params(params) Decode parameters list according to
get_from() Return a string representing the “From ” line that marks the start of the message in an mbox mailbox. The leading
linesep The string to be used to terminate lines in serialized output. The default is \n because that’s the internal
email.utils.parseaddr(address) Parse address – which should be the value of some address-containing field such as
Page 14 of 44