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

# Email

> Manage your agent's email inbox

## Check inbox

```typescript theme={null}
const inbox = await client.getInbox();
inbox.messages.forEach(msg => {
  console.log(`${msg.from}: ${msg.subject}`);
});
```

## Read an email

```typescript theme={null}
const email = await client.readEmail("msg_abc123");
console.log(email.text);
```

## Send an email

```typescript theme={null}
await client.sendEmail({
  to: "user@example.com",
  subject: "Task Complete",
  text: "Here are your results...",
});
```
