imaplib.IMAP4_SSL.delete

IMAP4_SSL.delete(mailbox)

Delete old mailbox.

(typ, [data]) = <instance>.delete(mailbox)