Skip to content

Add bounce info type to email retrieval response - #1030

Draft
gabrielmfern wants to merge 1 commit into
mainfrom
cursor/add-bounce-info-email-retrieval-12ea
Draft

Add bounce info type to email retrieval response#1030
gabrielmfern wants to merge 1 commit into
mainfrom
cursor/add-bounce-info-email-retrieval-12ea

Conversation

@gabrielmfern

@gabrielmfern gabrielmfern commented Jul 23, 2026

Copy link
Copy Markdown
Member

Adds the bounce field to GetEmailResponseSuccess, matching the OpenAPI schema for GET /emails/:id.

  • New GetEmailResponseBounce interface with message, type, subType, and diagnosticCode.
  • bounce?: GetEmailResponseBounce added to GetEmailResponseSuccess, present only when last_event is bounced.

Type-only change, no runtime behavior affected.

Open in Web Open in Cursor 

Summary by cubic

Add bounce details to the email retrieval response, matching the OpenAPI for GET /emails/:id. Type-only change; enables clients to read bounce reason info when an email is bounced.

  • New Features
    • Added GetEmailResponseBounce with message, type, subType, and optional diagnosticCode.
    • Added optional bounce to GetEmailResponseSuccess (present when last_event is "bounced").

Written for commit 48bdd3a. Summary will update on new commits.

Review in cubic

Co-authored-by: Gabriel Miranda <gabrielmfern@outlook.com>
@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 48bdd3a

@github-actions

Copy link
Copy Markdown

Tegami

This repository uses Tegami to manage releases. When your changes affect published packages, add a changelog file under .tegami/ before merging.

Create a changelog → · Changelog format

No changelogs yet

This PR has no pending changelog files. If your changes require a release, add a changelog before merging.

Run pnpm run tegami locally to create a changelog interactively.

Managed by Tegami.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 1 file

Confidence score: 5/5

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

Auto-approved: Type-only addition matching OpenAPI schema, no runtime behavior change; clearly beneficial and bounded.

Re-trigger cubic

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