Skip to main content
onResendEmailBounced emits email.bounced for permanent recipient-server rejections. Use it to suppress invalid recipients or alert an owner.
automations/handle-resend-bounce.automation.ts
Optional static account defaults to the project binding. Returns { type: "email.bounced"; createdAt; data }. Resend’s provider-native data contains the email, recipients, and bounce information available for that event; validate optional nested fields before depending on them.