CloseMailbox Method
Removes all messages marked with 'Deleted' flag from the currently selected mailbox and unselect mailbox.
Syntax
async gmailimap.closeMailbox(): Promise<void>
Remarks
This method permanently removes all messages that have the 'Deleted' flag set from the current (selected) mailbox, and then closes (deselect) the mailbox.