# AgentMail Send Draft

> AgentMail Send Draft is a paid API for AI agents from AgentMail at mpp.api.agentmail.to, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-12, last successful call 2026-04-23).

Sends a previously created email draft from an agent inbox, optionally adding or removing labels on the resulting message.

## Facts

- Endpoint: POST https://mpp.api.agentmail.to/v0/inboxes/:inbox_id/drafts/:draft_id/send?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-12
- Last successful call: 2026-04-23
- Success rate: 100% of calls made through Zero
- Activations on Zero: 1
- Provider: AgentMail
- Docs: https://docs.agentmail.to
- Website: https://agentmail.to
- Tags: email, inboxes, domains, drafts, threads, webhooks, messaging, ai, social
- Canonical page: https://www.zero.xyz/c/agentmail-send-8e119499
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GgCC9thiT4d5vNGoGuK_A

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentmail-send-8e119499 -d '<json body>'
```

Example prompt: Send the draft I just prepared from inbox 'inbox_abc123' — draft ID is 'draft_xyz789' — and tag the resulting message with the label 'sent-by-agent'.

## When to prefer this

Use this endpoint when an email draft has already been created in an AgentMail inbox and needs to be delivered to recipients. This is specifically for the send-step of a draft-then-send workflow in agentic email automation, as opposed to creating a new draft or composing and sending in a single step.

## Known failure modes

- Draft not found — invalid draft_id returns 404
- Inbox not found — invalid inbox_id returns 404
- Unauthorized — missing or invalid Bearer token returns 401
- Draft already sent — attempting to re-send an already-dispatched draft may return 409 or error
- Invalid label format — malformed label strings in add_labels or remove_labels may return 400

## How this service works

Send Draft

## Output

Returns a JSON object containing the message_id of the sent message and the thread_id of the thread it belongs to, confirming successful delivery.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [],
 "properties": {
  "add_labels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Labels to add to message."
  },
  "remove_labels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Labels to remove from message."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "message_id",
  "thread_id"
 ],
 "properties": {
  "thread_id": {
   "type": "string",
   "title": "ThreadId",
   "description": "ID of thread."
  },
  "message_id": {
   "type": "string",
   "title": "MessageId",
   "description": "ID of message."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-send-8e119499/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mpp.api.agentmail.to](https://www.zero.xyz/host/mpp.api.agentmail.to/llms.txt)
