Raise exception if imap.search returns typ != 'OK' in _check_email

Exception message includes returned data and input cirterion in
exception for debugging.