Structs§
- Address
- An email address with optional display name.
- Call
ToAction - A primary call-to-action link extracted from an HTML email.
- LlmContext
Options - Options for
to_llm_context_with_options. - Preprocess
Options - Options for customizing preprocessing behavior.
- Processed
Email - The primary output of langmail preprocessing.
- Thread
Message - A single message extracted from a quoted reply chain.
Enums§
- Langmail
Error - Errors that can occur during preprocessing.
- Render
Mode - Controls how
to_llm_context_with_optionsrenders 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.