//! Core types for pidge: accounts, configuration, and the normalized message model.
//!
//! This crate is intentionally provider-agnostic — it knows nothing about HTTP,
//! Microsoft Graph, or authentication. Those concerns live in `pidge-client`.

mod account;
mod cache;
mod config;
mod error;
mod message;

pub use account::{Account, TokenStorage};
pub use cache::{CacheLookup, CachedMessageRef, MessageCache, short_hash};
pub use config::{Config, Defaults};
pub use error::CoreError;
pub use message::{Attachment, BodyContentType, FlagStatus, FullMessage, Message, MessageFrom};
