Skip to content

feat: add received_for to inbound email and received event types#74

Merged
AntoniosBarotsis merged 2 commits into
mainfrom
feat/received-for
Jun 27, 2026
Merged

feat: add received_for to inbound email and received event types#74
AntoniosBarotsis merged 2 commits into
mainfrom
feat/received-for

Conversation

@lucasfcosta

@lucasfcosta lucasfcosta commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Adds the received_for field to the inbound email and email.received event types, matching the API.


Summary by cubic

Add the received_for field to inbound email and email.received event types to match the API, and bump resend-rs to 0.27.0. This tells consumers which address an email was received for, including forwarded cases.

  • New Features

    • Added received_for: Vec<String> with #[serde(default)] to receiving::types::InboundEmail and events::Received.
    • Updated tests to assert parsing of received_for.
  • Dependencies

    • Bumped getrandom to 0.4.3, jiff to 0.2.29, and svix to 1.96.1.

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

Review in cubic

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot 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 2 files

Confidence score: 5/5

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

Requires human review: Adds a new required field to event types, which could break consumers expecting the old schema. Even with serde default, this is a schema change for an API SDK.

Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot 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.

0 issues found across 2 files (changes from recent commits).

Re-trigger cubic

@AntoniosBarotsis AntoniosBarotsis merged commit 8ba5f27 into main Jun 27, 2026
4 checks passed
@AntoniosBarotsis AntoniosBarotsis deleted the feat/received-for branch June 27, 2026 14:57
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