Skip to content

Alerts

Alerts tell you when emails fail, before your customers notice. Set them up under Stacko Mail → Alerts.

Choose what triggers an alert:

  • An email fails to send (on by default, recommended). The alert includes the reason in plain language.
  • The backup connection had to be used. The email was still delivered, but your primary connection needs attention. This option needs a backup connection.

Alerts are based on the email log, so Keep an email log must be on in Settings.

Turn on one or more channels and enter where to send to. Use Send test to check that a channel works before you save.

Enter one or more addresses, separated by commas.

Alert emails are sent through your backup connection (or the server’s PHP mail() if you have no backup), never through the connection that is failing.

In Slack, go to Apps → Incoming Webhooks → Add to a channel, then copy the Webhook URL.

In Discord, open the channel settings → Integrations → Webhooks → New Webhook → Copy Webhook URL.

In Teams, open the channel’s ⋯ menu → Workflows → “Post to a channel when a webhook request is received”, then copy the URL.

Enter any HTTPS URL. Stacko Mail sends a POST request with a JSON body containing the event, details of the email (with recipient addresses masked) and a link to the email log.

Webhook URLs must start with https://. For Slack, Discord and Teams, the URL must belong to that service.

Each channel gets at most one alert every 15 minutes. If more problems happen in that time, the next alert tells you how many.

Alerts are sent in the background, so a failing email never slows down a checkout or form submission.

  • Recipient addresses in alerts are masked, for example j***@example.com.
  • Webhook URLs contain secret tokens, so they are encrypted in the database and never shown again. To keep a saved URL, leave the field empty. To replace it, paste a new one.