Expand description
Gmail REST API client.
Thin reqwest wrapper that attaches a Bearer access token (refreshed by
an owned GmailSession) to every request, retries HTTP 429 via the
shared retry_429 driver, and retries
exactly once on HTTP 401 by forcing a session refresh. Modelled on
crate::datadog::client::DatadogClient; the difference is Bearer-token
auth with in-process refresh instead of two static API keys.
Structsยง
- Gmail
Client - HTTP client for the Gmail v1 REST API.