Get search IDs from Gmail API and then filter search results based on that