Expand description
Gmail and Google Calendar behind pidge’s provider seam
(pidge_core::provider::Provider).
The mapping (design §13): the INBOX label is the inbox, archiving
removes it, deleting trashes; user labels are categories (and the
targets of folder moves); CATEGORY_* tabs are bulk hints; STARRED is
the flag; history.list is the delta; drafts are raw RFC 5322 messages;
the calendar is the user’s primary Google calendar, recurring events
expanded, with sendUpdates=all on changes.
auth: Google sign-in (loopback + PKCE), refresh,GoogleAuth.GmailProvider: thepidge_core::provider::Providerimplementation.
Re-exports§
pub use auth::GoogleAuth;pub use auth::GoogleOAuthConfig;
Modules§
- auth
- Google sign-in: authorization code + PKCE on a loopback redirect, token
exchange and refresh, and an access-token source for
crate::GmailProvider.
Structs§
- Gmail
Provider - One Gmail mailbox with its primary Google calendar.
Constants§
- CALENDAR_
BASE - Google Calendar API base.
- GMAIL_
BASE - Gmail API base for the signed-in user.