I have found the problem and attached a patch for revision 13.
The self.stop_check() call was missing in the IMAP checker when no new emails were found
I have found the problem and attached a patch for revision 13.
The self.stop_check() call was missing in the IMAP checker when no new emails were found