Skip to main content
The email step allows you to send email notifications to your users. This step supports HTML content and can be used with React Email for building beautiful email templates.

Example Usage

Email Step Output

The object your resolver returns must match the schema below. Any other property is rejected by the Framework’s output validation.

Sending attachments

Attachments are not part of the email step output schema. Returning an attachments array from your step resolver has no effect and is rejected by the Framework’s output validation. Pass attachments in the workflow trigger payload instead, then reference them by name in your email body if needed. Each attachment object needs file (Buffer or raw base64 without the data:<mime>;base64, prefix), name, and mime. See Sending attachments on the Email integrations page for the full field reference, size limits, and language examples.

Email Step Result

The email step does not return any result object.