Skip to main content

Crate pidge_gmail

Crate pidge_gmail 

Source
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.

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§

GmailProvider
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.