Files
CatoandClaude 532eaf29d6 feat: one address per app, mail to apps, and AI triage (v0.2.0) (#8)
- 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>
2026-10-22 11:02:47 +02:00
..