IMAPClient six Logbook python-chardet