---
title: "AI SDR: Give Your AI Agent an Email and Phone Number"
description: "Build an AI SDR: give your agent its own mailbox and phone number, review drafts before anything sends, and pay only on send. Seven jobs to paste."
canonical: "https://dev.monid.ai/tutorial/how-to-monid-agent-email-and-phone"
---

# How do I give an agent its own mailbox?

> Build an AI SDR: give your agent its own mailbox and phone number, review drafts before anything sends, and pay only on send. Seven jobs to paste.

- Web page: https://dev.monid.ai/tutorial/how-to-monid-agent-email-and-phone
- Tools for this job: [Agentic Email](https://dev.monid.ai/tools/agentic-email.md)

## Set up

Paste this to your agent once. It installs the Monid skill and asks for an API key from app.monid.ai.

```text
set up https://monid.ai/SKILL.md
```

## Jobs

Each job is a sentence to paste into your agent. Replace the parts in angle brackets.

### 1. What is already running, and what it costs

Ask your agent:

```text
list every inbox in my workspace with agentmail on monid and give me the renewal price and period for each. tell me the monthly total before i create another one
```

Listed price: $0.00 free to look.

Endpoints for this job:

- [`agentmail /list-inboxes`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /inboxes/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00
- [`agentmail /release-inboxes/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00

What a real run returned:

- **what we found**: 15 mailboxes already open, most from experiments nobody closed, for a standing $15.00 a month
- **the renewal**: each carries a block with a dated period end, and the price in it is in micro-dollars: the value reads 1000000 and means $1.00
- **so read the unit**: an agent that prints the raw value tells its user each mailbox costs a million dollars a month
- **the fix**: there is a release endpoint, it is free, and nothing calls it for you

### 2. Give the agent its own address

Ask your agent:

```text
before you create an inbox with agentmail on monid, list the inboxes i already have and read the renewal block on one of them: the catalog says $1.00 per call and says nothing about renewal, so listing first is the only way to learn it is monthly without paying to find out
```

Listed price: $1.00 per inbox, then monthly.

Endpoints for this job:

- [`agentmail /create-inboxes`](https://dev.monid.ai/tools/agentmail.md), $1.00 (the one this guide ran)
- [`agentmail /create-domains`](https://dev.monid.ai/tools/agentmail.md), $1.00
- [`agentmail /release-inboxes/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00

What a real run returned:

- **what came back**: an address, a display name and a created timestamp, immediately usable
- **the catch**: the listed price is per call, but the inbox renews at the same price every month, and nothing in the endpoint's own pricing says so: it reads PER_CALL $1.00 with an empty notes field
- **so asking the catalog does not work**: an agent told to inspect the endpoint and report before running answers one-off, and is wrong; the recurrence shows up only on the renewal block of an inbox you already hold
- **which is why the sentence lists first**: one free call on an existing mailbox tells you the price is monthly before any money moves
- **the habit**: create one mailbox per agent, not one per task, and release it when the task ends

### 3. Read what arrived

Ask your agent:

```text
list the messages in <inbox> with agentmail on monid and read the newest one. listing and reading are free, so do not batch them to save money. if you filter by subject, pass one plain word rather than the whole subject line: the match is tokenised, a term with punctuation in it finds nothing, and two terms in the array are ANDed rather than ORed
```

Listed price: $0.00 free, every time.

Endpoints for this job:

- [`agentmail /list-messages`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /messages/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /list-threads`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)

What a real run returned:

- **what came back**: the full message: headers, authentication results, size, plain text and extracted text
- **the labels**: received and unread, which is how an agent decides what it has not handled
- **the price**: nothing, so an agent can poll its own mailbox as often as it likes
- **the subject filter does work, tokenised**: on a 28-message mailbox the literal subject v1.4 is live returned nothing, while is live, v1 and live each returned the two matching messages, because the term is tokenised and the punctuation in v1.4 splits it
- **and the array is AND**: two terms in one filter returned zero rather than the union, so it narrows where a reader expects it to widen
- **the failure is silent**: a malformed filter comes back 200, COMPLETED, count zero and $0.00, which looks exactly like an empty mailbox

### 4. Who must never be contacted

Ask your agent:

```text
list the send-direction block entries for <inbox> with agentmail on monid before you draft anything, and refuse to draft to anyone on it. it takes a body with direction and type, not query params
```

Listed price: $0.00 free to read and to write.

Endpoints for this job:

- [`agentmail /list-allow-block-entries`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /create-allow-block-entries`](https://dev.monid.ai/tools/agentmail.md), $0.00
- [`agentmail /delete-allow-block-entries`](https://dev.monid.ai/tools/agentmail.md), $0.00

What a real run returned:

- **what came back**: an empty list, because nothing has ever been suppressed in this workspace
- **the point**: a do-not-contact list costs nothing to keep and nothing enforces it for you
- **the shape**: it wants a direction of send, receive or reply and a type of allow or block, in the body
- **the habit**: check it first, every run, because a reply asking to stop is worth more than the send that caused it

### 5. Write the whole campaign before anything sends

Ask your agent:

```text
draft the outbound for <list> with agentmail on monid, one draft each, and show me all of them. do not send: drafting is free and i want to read every message first
```

Listed price: $0.00 however many you write.

Endpoints for this job:

- [`agentmail /create-drafts`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /list-drafts`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /update-drafts/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00
- [`agentmail /drafts/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00

What a real run returned:

- **what came back**: a draft id, the recipients, the subject and the body, with nothing sent
- **the price**: $0.00 to write, $0.00 to edit, $0.00 to list, $0.00 to read back
- **why it matters**: a human can review an entire campaign at no cost before one message leaves
- **a follow-up is set at creation**: the field that makes a draft a reply is inReplyTo and it can only be passed when the draft is created: the update endpoint rejects it outright as an unrecognised key
- **there is no kind field**: an earlier version of this page called it a kind of plain, reply or forward. No such field exists anywhere in the API, so a reader looking for it finds nothing

### 6. Send the queue, and see it arrive

Ask your agent:

```text
send the drafts i approved with agentmail on monid, one at a time, and show me each one arriving. this is the only step that bills, and it bills per recipient rather than per message, so tell me the recipient count before you send anything with more than one name on it
```

Listed price: $0.001 per recipient.

Endpoints for this job:

- [`agentmail /send-messages`](https://dev.monid.ai/tools/agentmail.md), $0.001 / result (the one this guide ran)
- [`agentmail /reply-messages/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.001 / result (the one this guide ran)
- [`saperly /send-messages`](https://dev.monid.ai/tools/saperly.md), $0.02

What a real run returned:

- **what came back**: a message id and a thread id, and the message in the other mailbox seconds later
- **it is per recipient**: the tenth of a cent is charged once per address on the message, so a draft to five people is $0.005 rather than $0.001
- **the ratio**: sending costs a tenth of a cent; the address that sends it costs a thousand times that a month
- **what that means**: volume is almost free and presence is the real cost, which is the opposite of most tools
- **the rule here**: this test only ever sent between two mailboxes we created, never outward

### 7. Follow a conversation

Ask your agent:

```text
reply to that message with agentmail on monid, then show me the thread from both mailboxes. tell me whether the thread ids match
```

Listed price: $0.001 per reply.

Endpoints for this job:

- [`agentmail /reply-messages/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.001 / result (the one this guide ran)
- [`agentmail /threads/{id}`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)
- [`agentmail /list-threads`](https://dev.monid.ai/tools/agentmail.md), $0.00 (the one this guide ran)

What a real run returned:

- **the trap**: the send returned one thread id and the receiving mailbox shows a different one for the same message
- **what travels**: the message id is identical on both sides; the thread id is local to the inbox you are reading
- **the reply does it too**: a reply returns the replying mailbox's own local thread id, not the one the original sender holds, so the id changes again on the way back
- **what breaks**: an agent storing the thread id from a send will look it up in the other mailbox and find nothing
- **both sides**: after the reply, the sending mailbox lists two messages in its own thread

### 8. The phone side, before you commit

Ask your agent:

```text
list the numbers and voices available from saperly on monid. both are free to look at. do not provision a number or place a call without asking me first
```

Listed price: $0.00 free to survey.

Endpoints for this job:

- [`saperly /list-voices`](https://dev.monid.ai/tools/saperly.md), $0.00 (the one this guide ran)
- [`saperly /list-numbers`](https://dev.monid.ai/tools/saperly.md), $0.00 (the one this guide ran)
- [`saperly /provision-numbers`](https://dev.monid.ai/tools/saperly.md), $1.00
- [`saperly /place-calls`](https://dev.monid.ai/tools/saperly.md), $0.26 / minute
- [`saperly /calls/{id}/transcript`](https://dev.monid.ai/tools/saperly.md), $0.00

What a real run returned:

- **the voices**: 751 of them, listed for nothing before any number exists
- **two language counts, both real**: the voices carry 52 language codes while the languages endpoint returns 42; the ten extra are regional variants such as en-GB and pt-BR, so quote which one you counted
- **the numbers**: an empty list, because none was provisioned: the phone side costs nothing until you commit
- **what it would cost**: $2.00 to provision a number, then $0.005 per second to place a call, so a four minute conversation is $1.20 and two of them cost more than the number
- **the free part**: reading a call transcript afterwards is $0.00, like reading email

## More

- [Every how-to guide](https://dev.monid.ai/tutorial.md)
- [Connect an agent to Monid](https://dev.monid.ai/index.md)
