Skip to main content

Crate langmail

Crate langmail 

Source

Structs§

Address
An email address with optional display name.
CallToAction
A primary call-to-action link extracted from an HTML email.
LlmContextOptions
Options for to_llm_context_with_options.
PreprocessOptions
Options for customizing preprocessing behavior.
ProcessedEmail
The primary output of langmail preprocessing.
ThreadMessage
A single message extracted from a quoted reply chain.

Enums§

LangmailError
Errors that can occur during preprocessing.
RenderMode
Controls how to_llm_context_with_options renders the email body.

Functions§

preprocess
Preprocess a raw email (RFC 5322 / EML format) into an LLM-ready structure.
preprocess_with_options
Preprocess with custom options.