Create checkImapStatus