Added select() call before search() in _check_emails

Required by gmail, otherwise search returns no hits.