switch to using imaplib.list() instead of xatom().