> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/en/autify-university/advanced/email-testing-feature/email-test.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Email Testing Feature

{% hint style="warning" %}
Email testing (malin) is available on particular plans.
{% endhint %}

The Email Testing feature allows you to create email addresses to use in tests, and to create and run tests using those email addresses.\
There are two types of email address:

* ***Random email address*** - a different address is issued each time the test is run.
* ***Fixed email address*** - the same address is used each time a test is run.

{% hint style="info" %}
**Domain of the email address**

The domain of the email address generated by the ***Email Testing Feature*** is fixed to **@testmail.autify.com**.
{% endhint %}

You can use these email addresses to create tests that check the content of emails, and tests that use a link contained in an email.

Please refer to [Random vs. Fixed Email Addresses](https://help.autify.com/nocode-web/en/tips-1/mail-test-tips/random-and-fixed-email-addresses.md) for their respective use cases.

## How to create a scenario using a random email address

1. You can create a random email address while creating or editing a scenario. First, start recording on the Scenario Details Page.
2. In the Recording window, go to the page where you want to enter the email address.
3. Click the ***\[Email]*** button in the Autify Recorder.
4. Click ***\[Create Random Email Address]***.
5. An email address will be generated. Click the ***\[Copy]*** button to copy the email address to your clipboard.
6. Paste the email address into the page and perform the action that sends the email.
7. After the email is sent, select the email address in the Autify Recorder.
8. A list of received messages will appear. Select the message you want to check.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-14d8ed4b17552ece9751502a763a7293e817cff6%2FEmail%20Testing%20Feature_en_1.png?alt=media)

9. The content of the email will be displayed in the Recording window. You can create assertions for the email content and record actions such as clicks.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-1daa3ed9c4077e9996690112d49e1bf2e0efab07%2FEmail%20Testing%20Feature_en_2.png?alt=media)

10. When you have finished recording the test, click ***\[Save]***.

You have now created a scenario using a random email address.

## How to create a scenario using a fixed email address

### Create a fixed email address

1. Go to the Workspace Setting Page. Click ***\[Settings]*** on the sidebar.
2. Select the workspace from the menu.
3. In the Email Address section, click ***\[Create]***.
4. Enter a name for the email address, and then click ***\[Create]***.

You have created a fixed email address.

We recommend that you create an email address for each specific purpose and name it so that it is easily identifiable. You can create as many email addresses as you like.\
You can also use the same email address in multiple scenarios.

### Create a scenario

1. Start recording from the Scenario Details Page.
2. In the Recording window, navigate to the page where you want to enter the email address.
3. Click the ***\[Email]*** button in the Autify Recorder.
4. A list of email addresses defined in the Workspace appears.\
   Select the email address you want to use in the test.
5. Click the ***\[Copy]*** button to copy the email address to the clipboard.
6. Paste the email address into the page and perform the action that sends the email.
7. After the email is sent, click the ***\[Refresh]*** button on the Autify Recorder.
8. Click on the email you want to check.
9. The content of the email will appear in the Recording window. You can create assertions for the email content and record actions such as clicks.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-48ac3e0d56fa5fbb347f96a57f8f4c8c9a8ca2e0%2FEmail%20Testing%20Feature_en_3.png?alt=media)

10. When you are finished recording the test content, click the ***\[Save]*** button.

You have now created a scenario using a fixed email address.

## Change the email address name <a href="#change-the-email-address-name" id="change-the-email-address-name"></a>

You can change the names of fixed/random email addresses that you create.

1. To change the name of a random email address, open a scenario that uses that random email address. For fixed email addresses, open any scenario. Then, start recording at any step by clicking \[Record here].
2. In Autify Recorder, click on the email icon and select the fixed/random email address you want to change.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-4ad47ffada436af48cb3894fb42a953fde963c0d%2Fen_change_mail_name_1.png?alt=media)
3. Click \[Edit] on the right side of the email address name.

   ![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-36cd7ed99b0e8b59a07e1ea827448fe9ae443056%2Fen_change_mail_name_2.png?alt=media)
4. Change the name and press Enter or click \[Done] to save the changes.

You have now changed the email address name.

## Change the Email subject

The Email subject in the "Open Email With Title Like" step can be changed from the scenario edit screen.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-7d02027852a9d66493303aa365467fe6f1612022%2Fupdate_subject_EN\(1\).png?alt=media)

## Specifications for searching for emails to be verified

In the Email Testing feature, Autify will open and verify the email that has a title most similar to the one that was recorded and meets the following conditions:

* Received within 30 minutes
* Unopened

The same specifications apply to replays.

If no email meets these conditions when the test is run, Autify will wait for up to **two minutes**. If the email is still not found, you will get an "Email not found." message.

![](https://1964297753-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVdZPTgwISYb3LhjgKnw6%2Fuploads%2Fgit-blob-925d3fe870fd98d441c004c835fdea0e9880910f%2Fen_email_not_found.png?alt=media)

Please see [here](https://help.autify.com/nocode-web/en/when-the-test-doesnt-work/common-errors/email-not-found.md) for the main reasons for the "Email not found" error.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-web/en/autify-university/advanced/email-testing-feature/email-test.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
