Skip to main content
resend.onEmailFailed handles email.failed, a send failure rather than a recipient-server bounce.
automations/handle-resend-failure.automation.ts
Optional static account selects the binding.

Trigger data

Returns the shared Resend outbound event fields, plus failure details:
event preserves the original Resend envelope.