omni_dev/gmail.rs
1//! Gmail API integration: typed HTTP client and OAuth2 authentication.
2//!
3//! Provides a thin `reqwest` wrapper around the Gmail v1 REST API,
4//! authenticated via OAuth2 authorization-code + PKCE (see
5//! [ADR-0063](../../docs/adrs/adr-0063.md)). Phase 1 covers the client,
6//! authentication, and the message/thread/label API façades, plus the CLI
7//! and MCP surfaces built on them. `history_api.rs` (the `historyId`
8//! watermark) and `profile_api.rs` (`users.getProfile`) back Phase 2's
9//! `gmail sync` (see [ADR-0064](../../docs/adrs/adr-0064.md)).
10
11pub mod account;
12pub mod attachments;
13pub mod auth;
14mod chrome_profile;
15pub mod client;
16pub mod error;
17pub mod history_api;
18pub mod import;
19pub mod labels_api;
20pub mod messages_api;
21pub mod profile_api;
22pub mod raw_message;
23pub mod render;
24pub mod threads_api;
25pub mod types;
26
27#[cfg(test)]
28pub(crate) mod test_support;