Resend adapter for Vercel Chat SDK
The official Resend adapter for Vercel Chat SDK turns email into a first-class channel for AI agents.
The @resend/chat-sdk-adapter package connects Resend to the Vercel Chat SDK. It's bidirectional: receive emails as chat messages via webhooks, send rich HTML emails back through the Chat SDK interface.
Features
- Email conversations automatically threaded using RFC headers (
Message-ID,In-Reply-To,References) - Inbound emails verified with Svix signatures
- Send styled HTML emails using React Email components, with plain text fallbacks
- Open source, MIT licensed
Quick look
import { Chat } from "chat";
import { MemoryStateAdapter } from "@chat-adapter/state-memory";
import { createResendAdapter } from "@resend/chat-sdk-adapter";
const resend = createResendAdapter({ fromAddress: "bot@example.com" });
const chat = new Chat({
userName: "email-bot",
adapters: { resend },
state: new MemoryStateAdapter(),
});
chat.onNewMention(async (thread, message) => {
await thread.subscribe();
await thread.post(`Got your email: ${message.text}`);
});
What you can build
- Support bots that receive customer emails and reply with answers
- AI assistants that send order confirmations and handle follow-up replies
- Notification systems where users can reply directly to take action


Fetched May 13, 2026





