- Symptom
- Emails from resend.batch.send arrive without their attachmentsThe same payload sent through resend.emails.send arrives with the attachmentType error on attachments in batch items after upgrading to resend 6.9.3
- Cause
- The batch endpoint does not support the attachments field, and older SDK types accepted it anyway, so the files were dropped without an error. resend-node 6.9.3 removed attachments and scheduledAt from the batch item type.
- Fix
- Send any email that carries attachments through the single send endpoint, and use batch only for emails without them, at most 100 per call.
- Apply
for (const e of emails.filter(e => e.attachments?.length)) await resend.emails.send(e); await resend.batch.send(emails.filter(e => !e.attachments?.length).slice(0, 100));- Affected
- Resend POST /emails/batch as of 2026-10; resend-node below 6.9.3 accepts the field in its types
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders