Skip to main content
Tasks are executed after the job is triggered and are the main building blocks of a job. You can string together as many tasks as you want.

All tasks

sendEmail

Send an email to a recipient with a text payload. Official Resend Docs
example.ts

Tasks

Example

In this example we use Zod, a TypeScript-first schema declaration and validation library.