Use list requests to discover candidate IDs
Filter by Gmail search query and label IDs, respect page tokens, and keep the result order separate from synchronization correctness. A list response is intentionally lightweight and does not include every message field.
- Account and label scope
- Search query
- Page token
- Result-size estimate, not a completion signal