> 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/select-email.md).

# Select Email

Select Email highlights a message in the open inbox. Use it when the next step works from the selected row, or when you need to target a specific message before [Open Email](/test-steps/mail/open-email.md).

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

## When to use it

* Pick Latest when Wait for email already narrowed the inbox to the message you need.
* Use Custom with Subject or From when several messages are present.
* Use By Index when order in the list is more reliable than subject text.

## Configure

### Basics

| Field               | What to set                                              |
| ------------------- | -------------------------------------------------------- |
| **Inbox**           | `Test Case` (default) or `Account`                       |
| **Message**         | `Latest`, `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) |

## Related

* [Open Inbox](/test-steps/mail/open-inbox.md)
* [Open Email](/test-steps/mail/open-email.md)
* [Wait for email](/test-steps/mail/wait-for-email.md)
* [Mail](/test-steps/mail.md)

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