# How to Give an AI Agent Its Own Email Address and Phone Number

An AI email agent needs its own inbox, not yours. See why, how to connect Claude or another agent to a real email address, phone number and authenticator over MCP, and how to keep its access scoped and supervised.

AI agents are being asked to do work that runs through email: answer support messages, sign up for services, read a verification code, pull figures from an invoice, follow up with a supplier. To do that, an agent needs somewhere to receive and send mail. The quickest route is to hand it your own inbox, and that is usually the wrong one.

This guide explains what an AI email agent needs, why it should have its own address and phone number, and how to connect one to Claude or another MCP client with access you can see and revoke.

## What is an AI email agent?

An AI email agent is an AI model, such as Claude or ChatGPT, connected to a mailbox it can read and act on. It can search for messages, read threads and attachments, draft or send replies, and take the next step in a workflow, like copying a code into a sign-in form or recording an order number.

What the agent can do depends on the access it's given. That access is the main design decision.

## Why an agent should have its own address

Connecting an agent to your personal or company mailbox gives it everything in that mailbox, from password resets to private conversations, and makes its actions hard to tell apart from yours. A dedicated address avoids both problems:

- **Limited reach.** The agent sees only the inboxes assigned to it, not every message you've ever received.
- **A clear identity.** Mail the agent sends comes from an address people know is the agent's, and replies come back to it.
- **A visible record.** Its conversations, drafts and actions can be reviewed in one place, and access can be revoked without changing your own mail setup.
- **Real verification codes.** Sign-ups and logins the agent performs send their codes to the agent's own address or phone number, so it can finish the step without seeing your account mail.

## What an agent needs

- **An email address** to receive, read and reply to mail, including email codes and sign-in links. In MailSlurp this is a new inbox, an address on your own domain, or a connected Gmail or Outlook inbox.
- **A phone number** to receive SMS verification codes and messages: a real local, mobile or toll-free number in a supported country, assigned to the agent by an operator.
- **An authenticator** to answer TOTP prompts on logins protected by an authenticator app: a [virtual TOTP device](/docs/totp/) paired with the account's enrollment secret.
- **Scoped access** that limits what the agent can read, send and manage, set through its role, its inbox assignments and separate permissions for each channel.



### Give your agent a real inbox and phone number

Create an inbox, connect Claude or another MCP client with OAuth, and choose exactly which inboxes, numbers and authenticator devices the agent can use.

[Get started for free](https://app.mailslurp.com/sign-up/?onboardingRequest=agentEmail)



## How to connect an agent to an email address

### 1. Create the inbox

Create a MailSlurp inbox for the agent, use an address on your own domain, or connect an existing Gmail or Outlook inbox if the agent has to work from it.

### 2. Connect the AI client over MCP

In the MailSlurp dashboard, open **Agents** and add an AI client connection. Add `https://api.mailslurp.com/mcp` to Claude, ChatGPT, Cursor or another client as a remote MCP server and sign in through your browser with OAuth, so no API key is pasted into a chat. A custom agent can use a scoped key instead. The [MCP setup guide](/docs/mcp/) has the steps for each client.

### 3. Choose the role and the inboxes

Pick the agent's role and assign only the inboxes it needs. The agent can then read and reply from those addresses, within that role, and nothing else.

### 4. Send it a test message

Send an email to the assigned inbox and ask the agent to read it and draft a reply. Check the conversation in MailSlurp before you let it send on its own.

## Add a phone number and an authenticator

For SMS, an operator provisions a phone number and assigns it to the agent's connection. The running agent lists the numbers it may use, reads incoming texts and, if it has send permission, replies. Read and send permissions are separate, so an agent that only needs codes doesn't get to send messages. See [scoped SMS and TOTP for agents](/docs/agent-sms-totp/).

For logins protected by an authenticator app, pair a virtual TOTP device with the account's enrollment secret and let the agent generate a code for the authorized sign-in step. [What is TOTP?](/guides/what-is-totp/) explains how those codes work.

## Keep the agent supervised

- Start with the draft-only role, so the agent prepares replies and a person reviews and sends them. Move to a responder role once its drafts are consistently right.
- For agents that run continuously, have each worker claim one conversation at a time and hand a conversation to a person when a decision isn't the agent's to make. See [workers, claims and human review](/docs/agent-workers/).
- Review the agent's activity regularly and revoke access from its settings when a project ends.
- Treat verification codes, enrollment secrets and generated TOTP codes as credentials, and keep them out of shared logs.

The [agent inboxes documentation](/docs/agents/) covers roles, the agent workspace and the REST operations for custom agents.

## Frequently asked questions

### What is an AI email agent?

An AI model connected to a mailbox it can read and act on: it reads messages and attachments, drafts or sends replies and takes the next step in a workflow, within the access it's been given.

### Can Claude have its own email address?

Yes. Create a MailSlurp inbox, add an AI client connection under **Agents**, add the MailSlurp MCP server to Claude and sign in with OAuth, then assign the inbox. Claude can read and reply from that address within the role you chose.

### Can an AI agent receive SMS verification codes?

Yes, with a real phone number assigned to it. The agent reads incoming texts through its scoped access and can use the code in an approved sign-in or test workflow.

### Should I connect an AI agent to my own Gmail?

Only if the agent has to work from that mailbox. A dedicated inbox limits what the agent can see, gives it a clear identity and keeps its actions separate from yours. If you do connect Gmail or Outlook, assign it to the agent explicitly and review its activity.

### How do I stop an agent using an inbox?

Remove the inbox from the agent's connection or revoke the connection in the dashboard. The inbox and its mail stay in your account.
