All templates

Automated Mailtrap Send Failure Monitoring

Every hour, WebRun opens Mailtrap, checks the sending activity log for failed or bounced emails across connected inboxes and sending domains, posts a Telegram alert the moment failures rise above normal, and texts the on-call developer through Twilio if the failure rate stays high for more than one check.

Runs on WebRun · Strict Lockdown policy
Every hour WebRunorchestrates each step
1 Mailtrap check sending activity
2 Telegram post the failure alert
3 Twilio text the on-call developer
In short

How do I catch a Mailtrap email sending failure spike quickly?

Every hour, WebRun checks Mailtrap's sending activity for failed or bounced emails, posts a Telegram alert the moment failures rise above the normal range, and texts the on-call developer through Twilio if the spike persists across more than one check. Sending problems get caught within the hour instead of surfacing from a user complaint.

  • Send failure spikes get caught within the hour they start
  • Only sustained spikes wake the on-call developer
  • Sending problems surface before a user files a complaint

Built for software developers · engineering teams · SaaS companies sending transactional email · DevOps teams

Step by step

What does WebRun do on every run?

The exact actions WebRun takes, in order - in plain language, so you can adjust anything.

  1. WebRun signs in and gets to work

    Opens mailtrap.io in a real browser with your saved login - no setup, no API keys.

  2. 1
    Mailtrap - check sending activity
    mailtrap.io
    WebRun in Mailtrap: check sending activity
    WebRun opens Mailtrap to check sending activity.
    • Open Mailtrap and review the sending activity log
    • Read the failed and bounced count for the past hour
    • Compare it against the normal hourly range

    Done when The past hour's failure and bounce counts are captured and compared to normal.

  3. 2
    Telegram - post the failure alert
    telegram.org
    WebRun in Telegram: post the failure alert
    WebRun opens Telegram to post the failure alert.
    • Post a Telegram alert the moment failures rise above the normal range
    • Include the failure count and which sending domain it is tied to
    • Post nothing when failures are within the normal range

    Done when The dev channel has a Telegram alert for any above normal hour.

  4. 3
    Twilio - text the on-call developer
    twilio.com
    WebRun in Twilio: text the on-call developer
    WebRun opens Twilio to text the on-call developer.
    • Text the on-call developer only if the failure rate has stayed high for more than one check in a row
    • Include the sending domain and failure count in the text
    • Skip the text for a single high hour that clears on its own

    Done when The on-call developer is texted only for a sustained failure spike.

Run settings

How is each run configured?

Starting pageWhere Chrome opens at the start of each run
mailtrap.io
ScheduleRuns automatically on this cadence
Every hour
DeliveryHow each run's result reaches you
Send failure alert · Telegram
OutputWhat each run produces - A Telegram alert for any hour with above normal send failures, escalated by text if the spike does not clear.
Alert
Setup & safety

Secure by default

Connect once, stays signed in

WebRun signs in once and keeps each session in a persistent environment, so every run picks up right where it left off.

Your credentials stay in your own private environment - WebRun never stores your passwords.
Strict Lockdown

Every action is checked against this policy before it runs.

Domains ALLOWLIST
Typed input ALLOW
Shell command BLOCK
File uploads BLOCK
Runs in a contained environment More on policies
Good to know

Questions, answered

Does it fix the sending issue?

No. WebRun only detects and reports the failure spike. Diagnosing and fixing the sending problem stays with your development team.

Why text only after more than one bad hour?

So a brief blip does not wake the on-call developer. A spike that persists across checks is more likely to be a real problem.

Does this cover both test and production sending?

It reads whatever inboxes and sending domains are connected in your Mailtrap account, whether used for testing or live sending.

Put this on autopilot.

Turn it on in minutes - or have our team set it up for you.