Skip to main content
resend.onEmailReceived handles email.received for inbound routing or reply processing.
automations/route-resend-inbound.automation.ts
Optional static account selects the binding.

Trigger data

Returns the Resend inbound email fields, including attachment metadata:
event preserves the original Resend envelope. The webhook doesn’t contain the message body or attachment contents. Retrieve those through Resend’s receiving APIs using emailId.