continuous imap reader. Work in progress.