December 2026 Summaries
1 posts from Upstash
Filter
Month:
Year:
Post Summaries
Back to Blog
The article presents a TypeScript starter architecture for an email agent that receives and sends mail through AI Inbx, while Upstash Workflow, Redis, Vector, and Blob handle processing, storage, search, and attachments. Incoming and outgoing email events trigger durable, per-thread workflows that store messages and attachment files, index email and attachment text for hybrid semantic and keyword search, and run an agent with tools for reading conversations, searching, managing thread status, and sending messages. The design uses Redis sorted sets to organize inboxes and threads, chunks long text before indexing, and keeps attachment originals alongside extracted Markdown. To prevent duplicate responses, it combines Redis claims for each email with saved send requests and provider idempotency keys, while filtering out mail that should not receive an automated reply. A full implementation is available as a starter project, with additional options for human-approved drafts, tenant separation, and operational safeguards.
Dec 03, 2026
4,310 words in the original blog post.