[#23] Resolve "Fix email-gateway IMAP loop"
Closes #23 (closed) Stay connected like when using password auth. If this method fails, we'll do the changes !22 (diffs)
This also allows to decrease the BULK_INTERVAL back to original values.
Edited by Emmanuel Ormancey