fixed the poll empty mailbox;
added the check for new mail in IMAP/IDLE;