Updated ImapIdle sample