> For the complete documentation index, see [llms.txt](https://docs.does.qa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.does.qa/test-steps/mail/open-email.md).

# Open Email

Open Email opens a message from the chosen inbox. Use it when the Test Case needs to follow a link, read body content, or assert text inside the email view.

![Open Email Test Step](https://app.does.qa/screenshots/node/mail_message_open.png)

## When to use it

* Open the latest message after Wait for email when that message is the one you need.
* Match Subject or From when the inbox holds more than one candidate.
* Combine with [Touch](/test-steps/action/touch.md) on a link inside the open message for journeys such as password reset.

## Configure

### Basics

| Field               | What to set                                              |
| ------------------- | -------------------------------------------------------- |
| **Inbox**           | `Test Case` (default) or `Account`                       |
| **Message**         | `Latest` (default), `Previous`, `By Index`, or `Custom`  |
| **Property**        | When Message is Custom: `Subject`, `From`, or `Reply To` |
| **Comparison Type** | [Comparison Type](/test-step-options/comparison-type.md) |
| **Value**           | Match text and/or [Values](/values/value-store.md)       |
| **Message Index**   | When Message is By Index                                 |

### Advanced

| Field                                 | What to set                                                          |
| ------------------------------------- | -------------------------------------------------------------------- |
| **Status on fail**                    | [Failed Status](/test-step-options/failed-status.md)                 |
| **When should screenshots be taken?** | `Always` (default) or `On Failures`                                  |
| **Value Standardization**             | [Value Standardization](/test-step-options/value-standardization.md) |

{% hint style="info" %}
**Pro tip:** For forgotten-password and verification journeys, Wait for email, Open Email, then Touch the link in the message. See [Test a forgotten-password flow](/guides/test-a-forgotten-password-flow.md).
{% endhint %}

## Related

* [Wait for email](/test-steps/mail/wait-for-email.md)
* [Select Email](/test-steps/mail/select-email.md)
* [Close Inbox](/test-steps/mail/close-inbox.md)
* [Mail](/test-steps/mail.md)

**Tags:** `mail`, `open`, `email`, `message`
