langmail 0.10.1

Email preprocessing for LLMs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Provider-specific adapters that normalize third-party email payloads
//! into langmail's cleaning pipeline.
//!
//! Each adapter consumes a provider's native shape (e.g. Gmail's
//! `gmail_v1.Schema$Message` JSON) and produces the same
//! [`crate::ProcessedEmail`] output as the MIME entry point — the shared
//! post-parse pipeline guarantees byte-identical output across input paths.
//!
//! Adapters live in Rust so every binding (Node, Python, …) inherits them
//! without re-implementing provider logic.

pub mod gmail;

pub use gmail::{preprocess_gmail, preprocess_gmail_with_options};