SpringSource/spring-integration — pull request #678 by garyrussell (2012-11-19 23:58:35+00:00)
Title: INT-1821 Skip Initial IDLE When No RECENT Support

Previously, if an IMAP server supports IDLE, but not
RECENT, no messages were retrieved for one IDLE cycle.

Add a boolean indicating that a new folder open has
occurred and, for the first time only, if the
server doesn't support RECENT, skip the call to
folder.idle() so that the adapter will immediately
call receive() which, in turn, searches for
messages.