ThreadCamp
Start free
OpenAI Agents SDK integration

Send and receive email from OpenAI Agents SDK

Give OpenAI Agents SDK a real email address. ThreadCamp provides programmatic inboxes, Resend-compatible sending and forwarding Routes through one REST API and an MCP server - so OpenAI Agents SDK can send, receive OTPs and hold conversations.

Start free - no cardRead the docs

Wire up the MCP server

OpenAI Agents SDK speaks the Model Context Protocol, so you can attach ThreadCamp's MCP server and the agent gains tools like create_inbox, send, wait_for_message and forward. Add the server to your OpenAI Agents SDK configuration:

{
  "mcpServers": {
    "threadcamp": {
      "command": "npx",
      "args": ["-y", "@threadcamp/mcp"],
      "env": { "THREADCAMP_API_KEY": "sk_live_..." }
    }
  }
}

// Or point at the hosted server:
// { "url": "https://threadcamp.vercel.app/mcp",
//   "headers": { "Authorization": "Bearer sk_live_..." } }

Receive and forward, not just send

Sending is only half the loop. Create an inbox with POST /v1/inboxes to get a real, addressable mailbox with threads. Inbound mail arrives over HMAC-signed webhooks or polling, and per-domain Routes can forward mail - with SRS so SPF and DMARC survive - to another address, a webhook, or straight into a ThreadCamp inbox that OpenAI Agents SDK can reply on.

More integrations

Other frameworks

Email from Vercel AI SDK

Inboxes, sending and forwarding via one key.

Email from LangChain

Inboxes, sending and forwarding via one key.

Email from Claude Code

Inboxes, sending and forwarding via one key.

See the wider email platform for AI agents and the one email API that powers it.

Questions

How do I add email to OpenAI Agents SDK?

Add the ThreadCamp MCP server to OpenAI Agents SDK and the agent gets tools to create an inbox, send, wait for a message and forward. You can also call the REST API at /v1/emails directly with a scoped API key.

Can OpenAI Agents SDK receive replies, not just send?

Yes. Create an inbox with POST /v1/inboxes and read inbound mail via HMAC-signed webhooks or polling. Threads and messages are first-class objects, so OpenAI Agents SDK can send, receive and forward under one key.

Give OpenAI Agents SDK an inbox in the next minute.

No credit card. Full API, MCP and webhooks on the free tier.

Start freeRead the docs