Parse, clean, and structure raw emails into formats optimized for language models. Written in Rust. Available for Node.js and Python.
Two functions. One pipeline. Pass a raw RFC 5322 email string to preprocess, then serialize the result with toLLMContext. What comes out is clean Markdown — no noise, no quoted history, no signature clutter.