Transitioned to IMAPClient instead of lowest level imaplib. Fixed the thread-fetching code up a bit to exclude no-reply email sources, and List-ID sources.