Integrations
Email - Resend
The qstash-js
SDK offers an integration to easily send emails using Resend, streamlining email delivery in your applications.
Basic Email Sending
To send a single email, use the publishJSON
method with the resend
provider. Ensure your QSTASH_TOKEN
and RESEND_TOKEN
are set for authentication.
In the body
field, specify any parameters supported by the Resend Send Email API, such as from
, to
, subject
, and html
.
Sending Batch Emails
To send multiple emails at once, use Resend’s Batch Email API. Set the batch
option to true
to enable batch sending. Each email configuration is defined as an object within the body
array.
Each entry in the body
array represents an individual email, allowing customization of from
, to
, subject
, html
, and any other Resend-supported fields.
Was this page helpful?