> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Resend Tools

> Send an email from your agent with ResendTools and a configured from address.

```python resend_tools.py theme={null}
"""
Resend Tools
=============================

Demonstrates resend tools.
"""

from agno.agent import Agent
from agno.tools.resend import ResendTools

# ---------------------------------------------------------------------------
# Create Agent
# ---------------------------------------------------------------------------


from_email = "<enter_from_email>"
to_email = "<enter_to_email>"

agent = Agent(tools=[ResendTools(from_email=from_email)])

# ---------------------------------------------------------------------------
# Run Agent
# ---------------------------------------------------------------------------
if __name__ == "__main__":
    agent.print_response(f"Send an email to {to_email} greeting them with hello world")
```

## Run the Example

<Snippet file="create-venv-step.mdx" />

**1. Install dependencies**

```bash theme={null}
uv pip install -U agno openai resend
```

**2. Export your API keys**

```bash Mac/Linux theme={null}
export OPENAI_API_KEY="your_openai_api_key_here"
export RESEND_API_KEY="your_resend_api_key_here"
```

```bash Windows theme={null}
$Env:OPENAI_API_KEY="your_openai_api_key_here"
$Env:RESEND_API_KEY="your_resend_api_key_here"
```

**3. Run the example**

Save the code above as `resend_tools.py`, then run:

```bash theme={null}
python resend_tools.py
```

Full source: [cookbook/91\_tools/resend\_tools.py](https://github.com/agno-agi/agno/blob/v3.0.4/cookbook/91_tools/resend_tools.py)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.