delete_from_mailbox Method
Marks the messages specified by MessageSet as deleted.
Syntax
def delete_from_mailbox() -> None: ...
Remarks
This method marks the messages specified by message_set as deleted. Calling this method is equivalent to calling add_message_flags with "\Deleted" as the Flags parameter.