base64.standard_b64encode(s) Encode bytes-like object s using the standard Base64
parse(fp, headersonly=False) Read all the data from the file-like object fp, parse the resulting text, and return the
iter_attachments() Return an iterator over all of the parts of the message that are not candidate “body” parts. That is, skip
close() Flush the mailbox, unlock it if necessary, and close any open files. For some Mailbox subclasses, this
clean() Delete temporary files from the mailbox that have not been accessed in the last 36 hours. The Maildir specification
get_body(preferencelist=('related', 'html', 'plain')) Return the MIME part that is the best candidate to be the “body” of the
__getitem__(name) Construct and return a class to handle creating a name header.
set_type(type, header='Content-Type', requote=True) Set the main type and subtype for the Content-Type
base64.b16decode(s, casefold=False) Decode the Base16 encoded bytes-like object or ASCII
base64.standard_b64decode(s) Decode bytes-like object or ASCII string s using
Page 15 of 44