> For the complete documentation index, see [llms.txt](https://docs.eesel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eesel.ai/integrations/communication/email.md).

# Email

Every eesel agent has its own email address. Your team emails it questions or forwards it threads, and it replies in the same thread.

eesel's AI agent for email works through an address that every agent has from the moment it is created. Your team sends it a question or forwards it a thread, and your agent reads the whole thread and replies in it, using your connected knowledge and apps. Your agent can also email your team on its own, for example to send a summary or an alert.

Your agent only sends email to members of your workspace, so it works as an assistant your team emails. A workspace can send up to 200 emails a day.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-a831067de31a042ce8ed803f1aca397c36373169%2Femail-reply-in-gmail.png?alt=media" alt="A Gmail thread where the Email Agent replied to a teammate&#x27;s question with a bulleted rundown of what it can help with and how to send it a customer question"><figcaption><p>Your agent's reply landing in a teammate's inbox.</p></figcaption></figure>

## What can you use it for

* **Answer your team's questions.** Your agent replies by email, using your help center, files, helpdesk and other connected sources.
* **Work on forwarded email.** Forward a customer's email to your agent, and it replies to you with an answer or a draft you can send.
* **Send your team updates.** Your agent can email members of your workspace a summary, an alert or a follow-up.
* **Hand work to a person.** When your instructions call for a person, your agent tells your team by email, in your connected helpdesk, or in the dashboard.
* **Ask eesel support for help.** When your agent is stuck, it can email eesel's support team and copy your workspace owner.

## Set up your agent's email address

{% stepper %}
{% step %}

### Ask your agent for its address

Open the chat in your dashboard and ask your agent for its email address. The address is the agent's id followed by `@inbox.eesel.ai`. Each email sent to it reaches your agent as a conversation to handle.

To check that Email is added to your agent, go to the left sidebar and, under **Integrations**, click **Explore all integrations**. This link reads **Add integration** once the agent has another integration or a channel, such as the chat bubble. If Email is added to the agent you are on, the **Email** tile reads "1 added to agent". Your workspace's first agent usually has it from the start.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-88ec63c56219090f099768e19ec8a085463b4dfd%2Femail-integrations-gallery.png?alt=media" alt="The Integrations page with the Email tile first, marked 1 added to agent, above the helpdesk and knowledge tiles"><figcaption><p>The Email tile on the Integrations page.</p></figcaption></figure>

Open the tile. The Email page lists the agent's address, marked **Added to agent**. An agent that does not have it yet, such as one you created later, shows an **Add** button instead. Email sent to the address reaches the agent in both cases, and the next step is the same.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-839fb1bea9f7431cd8439b14b1e121bc7c2b84e2%2Femail-integration-page.png?alt=media" alt="The Email integration page with the agent&#x27;s inbox address marked Added to agent and an animated example of a reply"><figcaption><p>The address listed as Added to agent, above an example reply.</p></figcaption></figure>
{% endstep %}

{% step %}

### Set the send actions

On the Email page, click the address to open its settings. **Actions** lists the two send actions under **Write**. Set each one to **On**, **Ask first** or **Off**. [Where to set them](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md#where-to-set-them) explains each setting.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-570abe5c598d9388896e863b923e45ffeb83263b%2Femail-address-settings.png?alt=media" alt="The settings page for the agent&#x27;s email address, marked Connected, with Actions showing the Write group set to Custom: Email eesel Support Team on Ask first and Send Email to Workspace Users on On"><figcaption><p>The address's own settings page.</p></figcaption></figure>
{% endstep %}

{% step %}

### Add the people your agent can write to

Your agent only sends email to members of your workspace. An email from an address outside the workspace still reaches your agent, but your agent can't reply to it.

Open **Workspace settings > Team** and click **Invite to team**. Choose a role and enter the person's email address. The **Viewer** role is enough to receive email. The person accepts the invitation from their inbox. For the full steps with screenshots, see [Account](https://docs.eesel.ai/account/account.md).

To check that it worked, look at the **People** list on the Team tab. It shows the new member with their role and no pending label.
{% endstep %}

{% step %}

### Tell your agent how to answer email

Email reaches your agent without any setup. Your agent's [instructions](https://docs.eesel.ai/instructions-and-memory/instructions-and-memory.md) decide how it replies. In the dashboard chat, tell your agent how to handle email, what to check first, and when to involve a person, and it adds this to its instructions. To pause email, or to give email its own instructions, ask your agent in the chat to create an email automation.

Your agent's main instructions apply to email the same way they apply everywhere else, so you do not need to repeat rules about tone or escalation.
{% endstep %}

{% step %}

### Send a test email

From a member's mailbox, send the address a real question.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-57698a05baeb958692f160a928e66c707a6b2539%2Femail-test-compose.png?alt=media" alt="A Gmail compose window addressed to the agent&#x27;s inbox address, with a subject line and a short question about what the agent can do for the team"><figcaption><p>A test email to the agent's address.</p></figcaption></figure>

The run appears on your **Activity** page, labeled **Email**.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-ef0dc2edf2fa61738a7e912c7a6dab18ad5013d5%2Femail-activity-list.png?alt=media" alt="The Activity page listing the email run by its subject line with an Email label, above the earlier dashboard chats"><figcaption><p>The email run on the Activity page.</p></figcaption></figure>

Open the run to see the email, the reply your agent sent, and each step it took in between.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-812f633493e13f1b54754d28be48814a5fb3f24f%2Femail-activity-run.png?alt=media" alt="The email run opened in Activity, showing the incoming question, the Email sent marker and the full reply"><figcaption><p>The run, with the reply it sent.</p></figcaption></figure>

To check that it worked, open the sender's inbox. The reply appears in the same thread, from your agent's name. From a terminal with [the eesel CLI](https://docs.eesel.ai/apis-and-developer-resources/cli.md) installed, `eesel activity` lists the run.

<figure><img src="https://3732419023-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2xXO0947TYoPIhGoBgSE%2Fuploads%2Fgit-blob-9d1eac66ebe42dc2959b6e6ca85c32411f812500%2Femail-reply-in-gmail-callout.png?alt=media" alt="The reply from the Email Agent in Gmail, listing what it can help with and how to send it a customer question"><figcaption><p>The reply in the sender's inbox.</p></figcaption></figure>
{% endstep %}
{% endstepper %}

## Sources, triggers and actions

### Sources

Your agent reads each email it receives, including the whole thread. To answer, it uses everything else you have connected, such as your help center, files, helpdesk and website. Email does not add a knowledge source of its own. See [Integrations](https://docs.eesel.ai/integrations/overview.md).

### Triggers

| Trigger                    | Runs when                               | Best for                                                        | Key                    |
| -------------------------- | --------------------------------------- | --------------------------------------------------------------- | ---------------------- |
| **When an email comes in** | An email arrives at the agent's address | Questions from your team, forwarded customer email, and testing | `email_email_received` |

This trigger is on from the start. You only need to ask your agent to create an email automation if you want to pause email or give it its own instructions.

### Actions

|           | Action                        | What it does                                                                                           |
| --------- | ----------------------------- | ------------------------------------------------------------------------------------------------------ |
| **Write** | Send Email to Workspace Users | Sends an email from the agent's address to members of your workspace. Replies stay in the same thread  |
|           | Email eesel Support Team      | Emails eesel's support team at <hi@eesel.app> when your agent is stuck, and copies the workspace owner |

You can choose which actions your agent can use, and which ones need approval. See [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md).

## Limitations

* **Replies go to workspace members only.** This address is not built to be a customer inbox. For a customer inbox, use [Gmail](https://docs.eesel.ai/integrations/communication/gmail.md) or your helpdesk.
* **A workspace can send up to 200 emails a day.**
* **Email has no knowledge source of its own.** Your agent answers from your other connected sources.
* **Your team handles handoffs to a person.** Your agent cannot email the customer, so it tells your team instead. Depending on your instructions, it emails a workspace member, creates a ticket in your connected helpdesk, or leaves a note in the dashboard.
* **Each agent has one address.** The address is the agent's id followed by `@inbox.eesel.ai`, and you cannot choose a custom address.

## Troubleshooting

<details>

<summary>Your agent does not reply to an email</summary>

Check your **Activity** page. If the run appears there, your agent received the email. Your agent only replies to workspace members, so an address outside your workspace gets no reply. Invite that person to your workspace, then send the email again.

</details>

<details>

<summary>The run appears in Activity, but no email was sent</summary>

Open the run. If the send action is waiting for approval, the approval card appears in the dashboard chat and on the run in Activity. Also check the Write group on the address's settings page.

</details>

## FAQ

<details>

<summary>How do I set up an AI agent for email?</summary>

There is nothing to connect. Every eesel agent has its own address from the moment it is created. Ask your agent in the dashboard chat for its address, invite the people it should write to as workspace members, and send it a test email. See [Set up your agent's email address](#set-up-your-agents-email-address).

</details>

<details>

<summary>Do I need to connect a mailbox for the email AI agent?</summary>

No. The address is created with the agent. You do not need to sign in to anything or give access to an inbox.

</details>

<details>

<summary>Can the email AI agent reply to emails automatically?</summary>

Yes. Each email sent to its address starts a run, and your agent replies in the same thread. It only replies to members of your workspace. Mail from outside your workspace also wakes it, but it can't write back.

</details>

<details>

<summary>Can the email AI agent reply to my customers?</summary>

This address is built for your team. For a shared support mailbox, connect [Gmail](https://docs.eesel.ai/integrations/communication/gmail.md) or your helpdesk, where your agent replies to customers in their own queue.

</details>

<details>

<summary>Can I forward customer emails to the AI agent?</summary>

Yes. Forward a thread to the address, and your agent reads the whole thread and replies to you with an answer or a draft. It cannot write to the customer directly.

</details>

<details>

<summary>What name does the AI agent's email come from?</summary>

Email from your agent shows your agent's name and comes from its own address.

</details>

## Related pages

* [Gmail](https://docs.eesel.ai/integrations/communication/gmail.md) for handling a shared Google mailbox and replying to customers
* [Slack](https://docs.eesel.ai/integrations/communication/slack.md) for asking the same agent in a thread
* [Actions and Approvals](https://docs.eesel.ai/instructions-and-memory/actions-and-approvals.md) for choosing what your agent can do
* [Integrations overview](https://docs.eesel.ai/integrations/overview.md) for how sources, triggers and actions work together
* [Use eesel from Claude and other assistants](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-claude-and-other-assistants.md) and [Use eesel from ChatGPT](https://docs.eesel.ai/apis-and-developer-resources/use-eesel-from-chatgpt.md) to work with your agent from an AI assistant


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eesel.ai/integrations/communication/email.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
