sendBatchEmails sends an ordered batch of transactional messages. Use it when
one provider request should create many independent emails.
Example
automations/send-resend-batch.automation.ts
Inputs
emails is an array of 1–100 items using the same fields and custom-content or
template rules as sendEmail. Batch sends do not support attachments and fail
before the request if any item contains them. Per-email idempotencyKey values
are ignored; use the optional batch-level idempotencyKey, retained for 24
hours. Optional account selects the Resend binding.
Output
Returns{ data: { id: string }[] }. IDs use the same order as the input
emails, so keep positional correspondence when storing results.