Since other push implementations may keep connections for pushing mail backend for new mails, that possible vast connection usage might harm certain IMAP backends. Therefore introduced a poll-based alternative for mail push in IMAP bundle to avoid keeping connections alive.

This feature can be enbled/disabled and configured in file imap.properties with following property:

# Notify about recent messages using mail push events. This is a poll-based alternative for any connection-keeping mail push bundle.
com.openexchange.imap.notifyRecent
Default is false

# The frequency when a check for recent mails is enforced.
com.openexchange.imap.notifyFrequencySeconds
Default is 300 seconds.

# The full names of the folders to consider.
com.openexchange.imap.notifyFullNames=
Default is inbox folder