class mailbox.Message(message=None)
A subclass of the email.message module’s Message. Subclasses of mailbox.Message add mailbox-format-specific state and behavior.
If message is omitted, the new instance is created in a default, empty state. If message is an email.message.Message instance, its contents are copied; furthermore, any format-specific information is converted insofar as possible if message is a Message instance. If message is a string, a byte string, or a file, it should contain