Skip to main content
resend.onEmailEvent handles send, delivery, engagement, failure, suppression, scheduling, and inbound events. Use a specific trigger for one category.
automations/watch-all-resend-events.automation.ts
Optional static account: string | IntegrationAccountReference<"resend"> defaults to the project binding. The account can’t change at runtime.

Trigger data

Returns Signal<ResendEmailEvent>. event.type identifies the event:
Every event includes camel-cased fields such as emailId, messageId, createdAt, from, to, and subject. Outbound events can also include broadcastId, templateId, and tags. Bounce, click, failure, suppression, and inbound events add their fields. event preserves Resend’s webhook envelope, including provider-native created_at and data.