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

# API Reference

> Overview of the @qawolf/emails API, including the mail and client modules used to create inboxes and wait for email messages in flows.

## Main Areas

* [Mail](/qawolf/libraries/emails/api-reference/mail)
* [Client](/qawolf/libraries/emails/api-reference/client)

Example imports:

```ts theme={null}
import { mail } from "@qawolf/emails";
import { configureEmailsClient, createEmailsClient } from "@qawolf/emails";
```

The mail reference covers:

* inbox creation options
* inbox handle methods
* send and wait option shapes
* parsed email fields

Example:

```ts theme={null}
const inbox = await mail.inbox({ new: true });
const message = await inbox.waitForMessage({});
```
