expose imap object to maillistener