mirror of
https://github.com/bitbaum/mail-kit.git
synced 2026-12-04 00:28:15 +01:00
- address: every app's address is hello@<its own host> (appAddress, appAddressFromEnv), and sendMail sets it as Reply-To on every message, so answers reach the app while mail still leaves the shared sender. - inbound: the contract between the fleet mail gateway and an app. InboundMail, HMAC-signed with a timestamp (signInbound/verifyInbound); inboundHandler() refuses unsigned, tampered, stale or oversized deliveries and answers 500 when storing fails so the gateway retries. - triage: triageMail(mail, complete, context) asks any model for kind, urgency, summary, language and needsHuman; never throws, falls back to rules marked by: "rules", and treats instructions in a mail as content. Still zero runtime dependencies. Claude-Session: https://claude.ai/code/session_01TTH5cy8bKmEqzdTyAsbbT8 Co-authored-by: Claude <noreply@anthropic.com>