partition imaplib2