Skip to main content
onResendEmailComplained emits email.complained when a recipient reports a message as spam. Use it to suppress further mail and investigate sending practices.
automations/handle-resend-complaint.automation.ts
Optional static account defaults to the project binding. Returns { type: "email.complained"; createdAt; data }, with provider-native complaint, email, and recipient fields inside data when supplied.