> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentstack.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# AgentMail

> Email for agents

[AgentMail](https://agentmail.to) is an API-first email provider designed to give agents their own inboxes for sending, receiving, and managing email.

## Tools

* List inboxes
* Get inbox
* Create inbox
* List threads
* Get thread
* List messages
* Get message
* Get attachment
* Send message
* Reply to message

## Installation

Add the AgentMail tool to your project

```sh theme={null}
agentstack tools add agentmail
```

Get your [AgentMail API key](https://agentmail.to) and set the environment variable

```env theme={null}
AGENTMAIL_API_KEY=your-agentmail-api-key
```

## Usage

Use the AgentMail API to create an inbox for your agent. Then prompt your agent to handle any email related tasks.

## Examples

Coming soon...
