Bug 1042190 - [Email] Improve IMAP retry logic.