Repository navigation
fix(receiving): type received email header values as strings - #152
Merged
Merged
Conversation
Add html_format (query and response), authentication and raw. Type header values as strings with lowercase names.
Drop html_format, authentication and raw. They go in their own PR and rollout. Drop the JSON-encoding note until backend confirms it.
dielduarte
approved these changes
Nov 24, 2026
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.
The received email schema now says that header values are strings and header names are lowercase. The old schema left the value type open, so SDK maintainers could not tell if a value can be a list (resend/resend-rust#141). The API code and live responses only ever return strings.
Not covered. The spec does not promise a format for headers with several values, such as
references. Today they come back as JSON-encoded text, which is a fallback in the inbound consumer and not a designed format.