feat: add received_for to inbound email and received event types#74
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the received_for field to the inbound email and email.received event types, matching the API.
Summary by cubic
Add the
received_forfield to inbound email andemail.receivedevent types to match the API, and bumpresend-rsto0.27.0. This tells consumers which address an email was received for, including forwarded cases.New Features
received_for: Vec<String>with#[serde(default)]toreceiving::types::InboundEmailandevents::Received.received_for.Dependencies
getrandomto0.4.3,jiffto0.2.29, andsvixto1.96.1.Written for commit ea4e91d. Summary will update on new commits.