Skip to content

feat(inboxes): support idempotency key on inbox sending methods - #1140

Merged
Cisneiros merged 1 commit into
preview-inboxesfrom
feat/inboxes-idempotency-key
Oct 7, 2026
Merged

Cisneiros merged 1 commit into
preview-inboxesfrom
feat/inboxes-idempotency-key

Conversation

@Cisneiros

@Cisneiros Cisneiros commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary by cubic

Adds support for an idempotencyKey option on inbox sending methods so clients can retry requests safely without duplicate sends.

  • Sends the Idempotency-Key header on inbox draft send, thread email reply, and thread email forward requests.
  • The new idempotencyKey option is optional; existing callers are unaffected.

Written for commit a604c1d. Summary will update on new commits.

View guided diff

@Cisneiros
Cisneiros requested a review from a team as a code owner October 7, 2026 13:54
@Cisneiros
Cisneiros requested review from CarolinaMoraes and removed request for a team October 7, 2026 13:54
@pkg-pr-new

pkg-pr-new Bot commented Oct 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/resend@1140

commit: a604c1d

@klotty klotty left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 5 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Auto-approved: Adds an optional idempotencyKey option to inbox draft send, thread reply, and thread forward methods, with tests confirming the Idempotency-Key header is sent when provided. The change is additive and backward compatible.

View guided diff | Re-trigger cubic

@Cisneiros
Cisneiros merged commit fa42c55 into preview-inboxes Oct 7, 2026
9 of 10 checks passed
@Cisneiros
Cisneiros deleted the feat/inboxes-idempotency-key branch October 7, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants