Skip to main content

email/email/
mod.rs

1//! Module dedicated to email management.
2//!
3//! An email is composed of two things:
4//!
5//! - The **envelope**, which contains an identifier, some flags and
6//! few headers.
7//!
8//! - The **message**, which is the raw content of the email (header +
9//! body).
10//!
11//! This module also contains stuff related to email configuration and
12//! synchronization.
13
14pub mod config;
15pub mod date;
16pub mod envelope;
17mod error;
18pub mod message;
19pub mod search_query;
20#[cfg(feature = "sync")]
21pub mod sync;
22pub mod utils;
23
24#[cfg(feature = "sync")]
25pub(crate) use sync::sync;
26#[doc(inline)]
27pub use {
28    self::utils::*,
29    error::{Error, Result},
30};