Skip to main content
resend.onEmailSuppressed handles email.suppressed when recipient or account policy prevents sending.
automations/handle-resend-suppression.automation.ts
Optional static account defaults to the project binding.

Trigger data

Returns the shared Resend outbound event fields, plus suppression details:
diagnosticCode can contain null when Resend suppresses an address without an SMTP response. event preserves the original Resend envelope. A suppressed event is distinct from a failed attempt or recipient-server bounce.