> For the complete documentation index, see [llms.txt](https://docs.pixeleyes.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixeleyes.de/anleitungen-instructions/english/documentation-of-our-shopware-6-plugins/log-watch-with-ai-analysis-and-ticket-workflow/reports-instant-mails.md).

# Reports instant mails

The plugin informs you by email in two ways: with a regular **summary report** and with **instant mails** for serious errors.

## Summary report

* Sent at the configured **cron/report times** to the **report recipients**.
* Contains per error group: the message, the derived **action**, the **next steps** (responsibility), and a **deep link** into the backend.
* Cards are coloured by **level** (red/orange/amber …); at the top is an **"Open dashboard"** button.

**Set up:**

{% stepper %}
{% step %}

## Add report recipients

Go to **Configuration → Operation → Report recipients** and enter one or more email addresses, separated by commas.
{% endstep %}

{% step %}

## Set cron/report times

Set **Cron/report times**, for example:

```
07:00,16:00
```

{% endstep %}

{% step %}

## Test delivery

Test delivery immediately via **Dashboard → Send test report**.
{% endstep %}
{% endstepper %}

## Quiet-days cadence

If no important errors occur for a while, the report automatically switches to a less frequent rhythm (daily or weekly). You set the thresholds in the configuration.

## Instant mails

* On new **serious** errors, the **instant-mail recipients** get an immediate message.
* A **lock period** (in hours) prevents mail floods.

### Safety net: instant-mail patterns

Additionally, you can define **patterns** that always trigger an instant mail—even if the PHP triage does not rate the error as serious.

{% stepper %}
{% step %}

## Open instant-mail patterns

Go to **Configuration → Operation → Optional safety net: instant-mail patterns**.
{% endstep %}

{% step %}

## Enter patterns

Enter **one pattern per line** (case-insensitive), for example:

```
OutOfMemoryError
SQLSTATE
PayPal
checkout
```

{% endstep %}

{% step %}

## Send instant mail

If one of the patterns appears in a message, an instant mail is sent.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
**Prerequisite:** At least one address must be entered under **Instant mail recipients**.
{% endhint %}

## Email language

If no fixed **answer language** is set, the report uses the context's language:

* For the **test report**, the logged-in admin's language.
* For the **cron**, the system default language (English otherwise).

For a consistent language, set a fixed answer language in the configuration, for example `de-DE`.
