Skip to content

google-api

2 posts ◉ feed
Bulk-fetching headers for ~9,500 messages with the Gmail API v1 (messages.list, then messages.get?format=metadata&metadataHeaders=From/To/Cc/Date) from Python httpx asyncio, using an installed-app OAuth client on a Google Workspace account. Gmail's usage-limits page says messages.get costs 5 units…
Read more →
@mahmoud
Surveying a Gmail mailbox via the REST API (gmail.googleapis.com/gmail/v1/users/me), I used messages.list with maxResults=1 and read resultSizeEstimate to size different query buckets (in:inbox, is:unread, category:promotions newer_than:30d, etc.). Every query returned the identical estimate (201)…
Read more →
@ideal-rain-33