Back to Explore

resend/resend-node

GitHub
32 updates · last 90 daysOpen source

Last release:

Resend’s official Node.js SDK, a Node library for using the Resend API to send emails. It includes quickstart guidance and examples for common frameworks like Next.js and Express, and it uses a Resend API key from the Resend dashboard.

Project status

  • Actively maintained, with an upstream push on 2026-11-04 and several updates in late October 2026.
  • Updates have been frequent, sometimes multiple in a day, especially during the rollout of inbox features.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v6.37.0

    v6.37.0 fixes attachment serialization so binary content is sent as base64, and strengthens request-path validation against dot segments obscured by backslashes or whitespace. It also updates draft attachment test URLs to use a placeholder domain. No breaking behavior changes are evident.

  • v6.36.1

    Resend v6.36.1 fixes detection of dot segments in request paths when they are obscured by backslashes or whitespace. The change updates the shared path-checking utility and adds tests for the affected paths and for requests being rejected before they are sent.

  • v6.36.0

    v6.36.0 adds support for attaching files to inbox drafts using a URL path, alongside the existing content-based attachment method. The SDK types now enforce that an attachment uses exactly one source, and allow the content type to be inferred for path-based attachments.

    Features
  • v6.35.0

    v6.35.0 changes API error logging to be disabled by default and enabled only when RESEND_DEBUG is set to "true". The release updates the Resend implementation and tests, with no public API or dependency changes.

  • v6.34.1

    v6.34.1 updates inbox-related TypeScript types to better match the API behavior, specifically around inbox thread search results and inbox draft updates. The code changes indicate response and result shapes were adjusted, and related exports were removed.

  • v6.34.0

    Release v6.34.0 adds inbox label endpoints and introduces stronger typing for inbox agent tone presets, plus typed created_at and updated_at fields on inbox responses. It also includes fixes for batch payload mutation when rendering React emails, preserves error headers in template publish chains, and rejects dot segments in request paths.

    SecurityFeatures
  • v6.33.0

    Release v6.33.0 introduces new inboxes-related endpoints, including inboxes, drafts, labels, threads, and an inbox agent. The release notes only mention this inboxes work, but the code diff also includes changes to email receiving/forwarding behavior around raw email byte handling.

    Features
  • v6.32.1-preview-inboxes.6

    This preview release changes inbox label color handling to use hex color values (for example, "#46A758"). The code updates the TypeScript type and adjusts tests to send hex colors to the API.

    Features
  • v6.32.1-preview-inboxes.5

    This preview release adds inbox thread filtering and a dedicated thread search endpoint. It also corrects the TypeScript types for inbox-related create responses so they are represented as an {object, id} payload shape.

    Features
  • v6.32.1-preview-inboxes.4

    This preview release adds support for sending a reply-all response when replying to an inbox thread email. The change introduces a new optional `replyAll` option on the reply payload and ensures it is sent to the API as `reply_all`.

    Features
  • v6.32.1-preview-inboxes.3

    This preview release adds idempotency key support for inbox-related sending operations (draft sending, forwarding, and replying). The code diff, however, shows a much larger addition of the Inboxes API surface, including new classes and TypeScript interfaces for inbox agent, drafts, labels, threads, and cursor query helpers.

    Features
  • v6.32.1-preview-inboxes.2

    This release adds support for Inbox agent settings management. It introduces new APIs to fetch and update an inbox agent configuration via the Resend client.

    Features
  • v6.32.1

    v6.32.1 updates the receiving forward flow to avoid re-decoding raw email bytes as UTF-8. The change is covered by newly added tests for ISO-8859-1 (latin1) message bodies, validating both passthrough decoding and wrapped-mode byte preservation.

  • v6.32.1-preview-inboxes.1

    The release notes for v6.32.1-preview-inboxes.1 contain only a changelog link and no explicit description of changes. The code diff shows a substantial addition of new inbox-related client APIs (inboxes, drafts, labels, threads), along with new webhook event type definitions and supporting cursor query utilities.

    Features
  • v6.32.0

    v6.32.0 adds request cancellation support and threads request options (notably custom headers and abort signals) through essentially all Resend client methods. It also improves batch sending so custom headers are correctly serialized from multiple HeadersInit shapes, including the ability to override x-batch-validation case-insensitively.

    SecurityFeatures
  • v6.31.1-preview-headless-dashboard.0

    This release adds a new segments metrics API to the client library, including new TypeScript types and a new method on the Segments class. The provided release notes do not enumerate any changes beyond a compare link, so the actual feature additions in the code are effectively undocumented.

    Features
  • v6.28.1-preview-inboxes.2

    This release adds inbox-related webhook event types to the SDK, expanding the `WebhookEvent` and `WebhookEventPayload` TypeScript unions. In the code diff, it also introduces a new `inboxes` client surface area (inboxes, drafts, labels, threads) with corresponding request/response option and interface types, plus helper utilities and tests.

    Features
  • v6.31.0

    This release primarily updates webhook typings to include new topic-related webhook event types, and fixes a set of JSDoc links for broadcasts. The code diff also introduces a new Usage API surface (types, client, and tests) and slightly widens the allowed contact property value types.

    Features
  • v6.30.0

    v6.30.0 adds a new “usage” resource to the client. The release notes mention adding usage support, and the code diff confirms a new Usage class, a /usage GET call, and corresponding TypeScript interfaces and exports.

    Features
  • v6.29.0

    This release updates the Contacts API client to allow boolean values in the `properties` object when calling `resend.contacts.update`. The change is primarily a TypeScript typing update plus a corresponding unit test to ensure booleans are serialized into the request payload.

    Features