Skip to main content
onResendEmailFailed emits email.failed when Resend cannot send a message. This differs from a recipient-server bounce that happens during delivery.
automations/handle-resend-failure.automation.ts
Optional static account selects the binding. Returns { type: "email.failed"; createdAt: string; data: Record<string, JsonValue> }. Failure details remain in provider-native data and may vary by failure reason.