rename_mailbox Method
Change the name of Mailbox to NewName .
Syntax
def rename_mailbox(new_name: str) -> None: ...
Remarks
This method allows the renaming of a mailbox. The mailbox is specified by the mailbox property, and the new name is specified by the NewName parameter.