Toggle between IMAP streaming modes automatically