Knowledge base

Concepts, patterns, and recipes for outreach agents.

Learn how to provision inboxes, set up custom domains, ship deliverable email, integrate with major AI frameworks, and handle the awkward edges of agent-driven outreach.

Operations

Limits, bounces, workspaces, and human-in-the-loop.

TypeScript SDK

Install myagentmail from npm and get typed access to every endpoint in one import. View on npm

Read article

Install the agent skill

Drop-in Claude Code / Cursor / OpenClaw skill that teaches your coding assistant the full myagentmail API surface in one file.

Read article

Handling inbound email

Three ways to receive mail in your agent. They compose — you can use more than one.

Read article

Threaded conversations

How myagentmail assembles a thread, and how to stay in one when you reply.

Read article

Human-in-the-loop workflows

Add approval gates to agent-generated email so a human signs off before anything goes out.

Read article

Workspaces for multi-tenant email

Isolate inboxes and domains across your customers without opening a new myagentmail account per customer.

Read article

Allowlists & blocklists

Filter who can reach an agent's inbox before the message hits your downstream processing.

Read article

Receiving 2FA codes inline

The flagship WebSocket use case: an agent fills out a signup form, waits for the verification email, extracts the code, enters it — all in one turn without a public webhook receiver.

Read article

Why my mail is landing in spam

The most common reasons, in order of how often we see them.

Read article

MX records without breaking your primary domain

Your main company domain probably already has mail. Here's how to add myagentmail without blowing up your existing inbox.

Read article

Rate limits & plan limits

Two kinds of ceilings to be aware of.

Read article

Bounces and auto-pause

We auto-pause sending from an inbox that's bouncing too much, to protect your domain reputation.

Read article

Domain verification failures

Common reasons a domain gets stuck in pending and how to fix each.

Read article

Avoiding duplicate sends

What to do when your agent retries a send and you're not sure whether the first one went through.

Read article

MCP server

Plug myagentmail into Claude Desktop, Cursor, Windsurf, Cline, or any MCP-compatible client. Your AI assistant gets a full set of email tools instantly.

Read article

Vercel AI SDK

Wire myagentmail into the Vercel AI SDK as tool definitions for generateText and streamText.

Read article

LangChain

Wrap myagentmail endpoints as LangChain tools (TS or Python).

Read article

OpenAI function calling

JSON schema function definitions you can drop straight into the OpenAI Chat Completions or Responses API.

Read article

Anthropic tool use

Tool definitions for the Claude Messages API.

Read article

OpenClaw extension

Drop a single TypeScript file into ~/.openclaw/extensions/ to give every OpenClaw agent native myagentmail tools.

Read article

Example: Inline 2FA-code signup

Sign up for a third-party service on behalf of a user, wait for the verification code email, extract the code, and complete the signup — all in one agent turn without any public webhook receiver.

Read article

Example: Customer support triage

Watch a support inbox, classify each new message into a category, draft a reply, and either auto-send routine answers or hand off to a human reviewer for sensitive ones.

Read article

Example: Lead enrichment + personalized outreach

Pull a list of leads from a CRM, enrich each with public data, and send a personalized opener that references something specific about their company.

Read article

Example: Calendar booking via email

When a prospect emails "let's chat next week", an agent reads the message, checks calendar availability, replies with three slot options, and books on confirmation.

Read article

Cloudflare DNS setup

Adding myagentmail's records in the Cloudflare dashboard.

Read article

AWS Route 53 setup

Adding myagentmail's records to an existing Route 53 hosted zone.

Read article

GoDaddy DNS setup

Adding records in the GoDaddy domain manager.

Read article

Namecheap DNS setup

Adding records to a Namecheap-managed domain.

Read article

Looking for the API spec?

The full REST + WebSocket reference lives in the API documentation.