# Set email notification

Configure Maestro Cloud to send email summaries for your Flow results.

{% hint style="info" %}
**Maestro Cloud Plan required** Email notifications are available on the [Maestro Cloud Plan](https://maestro.dev/cloud).
{% endhint %}

### Configure email recipients

To receive email notifications, add the `notifications` mapping to your `config.yaml` file. This file should be located in the root of your workspace (usually the `.maestro` folder).

#### Notify on failure (Default)

By default, Maestro Cloud sends emails only when a Flow fails. Add the following to your `config.yaml`:

```yaml
# .maestro/config.yaml
notifications:
  email:
    enabled: true
    recipients:
      - dev-team@example.com
      - qa-lead@example.com
```

#### Notify on success and failure

If you want to receive notifications for successful runs as well, add `onSuccess: true`:

```yaml
# .maestro/config.yaml
notifications:
  email:
    enabled: true
    onSuccess: true # Enable on sucess notification
    recipients:
      - dev-team@example.com
```

### Example email notification

When a Flow fails, recipients receive an email containing a summary of the test run and a link to the detailed report in the Maestro Dashboard.

<figure><img src="https://1537828429-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fky7LkNoLfvcORtXOzzBs%2Fuploads%2FHDRbcHSPhj0Z3xrs6eTy%2Fimage.png?alt=media&#x26;token=d923354a-e9cb-4f9a-bf66-c79ce14b9ada" alt=""><figcaption></figcaption></figure>

### Related content

Check the other notification options available when testing your app with Maestro Cloud:

* [set-slack-notification](https://docs.maestro.dev/maestro-cloud/notifications/set-slack-notification "mention")
* [configure-webhooks](https://docs.maestro.dev/maestro-cloud/notifications/configure-webhooks "mention")
