//! Proton Mail IMAP client library
//!
//! An interface to interact with Proton Mail using
//! [Proton Bridge](https://proton.me/mail/bridge). Connects over
//! STARTTLS with self-signed certificate support.
//!
//! ## Access control
//!
//! `ProtonClient` uses a typestate pattern to separate read and write
//! operations at compile time:
//!
//! - `ProtonClient<ReadOnly>` -- list, fetch, search (default)
//! - `ProtonClient<ReadWrite>` -- all of the above **plus** move,
//! flag, archive, and unmark
//!
//! Returns parsed [`Email`] structs from the [`email_extract`] crate.
pub use ;
pub use ImapConfig;
pub use Email;
pub use ;
pub use Flag;
pub use Folder;