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

# Email

> Let agents send email notifications to you.

The `@guildai-services/guildai~email` package lets your agents send email notifications to the address on your Guild account. No external API key is required — Guild sends the email on your behalf.

## Authentication

* **Type:** Guild credential (no external API key required)

### Setup

<Steps>
  <Step title="Open Credentials">Go to **Credentials** in Guild.</Step>
  <Step title="Connect Email">Click **Email** and confirm your email address.</Step>
</Steps>

## Usage

The email tool sends to the address associated with your Guild account. Use it to notify yourself when an agent completes a task or encounters an issue.

```typescript theme={null}
import { emailTools } from "@guildai-services/guildai~email"
import { llmAgent } from "@guildai/agents-sdk"

export default llmAgent({
  description: "An agent that sends email notifications when tasks complete",
  tools: { ...emailTools },
})
```
