---
title: Resend
description: Send and receive threaded email through Resend via the Chat SDK.
type: channel
keywords:
  - chat sdk
  - email
  - resend
  - inbound email
  - transactional email
  - attachments
---

# Resend

Channel integration for eve. Send and receive threaded email through Resend via the Chat SDK.

## Install

Add this Chat SDK channel from eve's registry. This writes `agent/channels/resend.ts` and installs Chat SDK and its adapter dependencies:

```bash
eve add channel/chat-sdk-resend
```

## Quick start

Create `agent/channels/resend.ts`:

```ts
// agent/channels/resend.ts
import { createResendAdapter } from "@resend/chat-sdk-adapter";
import { createMemoryState } from "@chat-adapter/state-memory";
import type { Message, Thread } from "chat";
import { chatSdkChannel } from "eve/channels/chat-sdk";

export const { bot, channel, send } = chatSdkChannel({
  userName: "My Agent",
  adapters: {
    resend: createResendAdapter({
      fromAddress: process.env.RESEND_FROM_ADDRESS!,
      fromName: "My Agent",
    }),
  },
  state: createMemoryState(),
});

bot.onNewMention(async (thread: Thread, message: Message) => {
  await thread.subscribe();
  await send(message.text, { thread });
});

bot.onSubscribedMessage(async (thread: Thread, message: Message) => {
  await send(message.text, { thread });
});

export default channel;
```

See the [Email (Resend) adapter documentation](https://chat-sdk.dev/adapters/vendor-official/resend) for all supported events and credentials.

## Configure

Verify a sending domain in Resend, set `RESEND_API_KEY`, `RESEND_WEBHOOK_SECRET`, and `RESEND_FROM_ADDRESS`, then point the Resend inbound webhook at `/eve/v1/resend`. This is a vendor-official Chat SDK adapter. See the [Chat SDK channel docs](/docs/channels/chat-sdk) for eve session dispatch, state, streaming, and human-in-the-loop behavior.

[Read the full channel documentation](/docs/channels/chat-sdk)

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)