Bug 1042190 - [Email] Improve IMAP retry logic.

this is not being called inside a test step and so is almost certainly not doing what we want to do