feat: missing query parameter for GET on a received email#218
Merged
drish merged 3 commits intoJun 16, 2026
Conversation
Signed-off-by: gabriel miranda <gabrielmfern@outlook.com>
black added the missing blank line before _GetParams and collapsed the get() signature onto one line. Fixes the flake8 E302 failure in the lint-mypy CI job. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
drish
approved these changes
Jun 16, 2026
Contributor
There was a problem hiding this comment.
0 issues found across 3 files (changes from recent commits).
Auto-approved: Adds an optional query parameter to a single API endpoint, with corresponding tests. Low risk, limited blast radius.
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.
Closes #217
docs: https://resend.com/docs/api-reference/emails/retrieve-received-email#query-parameters
Summary by cubic
Add support for the
html_formatquery parameter when retrieving a received email, allowingcidordata_uriinline images (default isdata_uri). Aligns the SDK with the API docs and fulfills Linear DEV-990.New Features
GetParamswith optionalhtml_format: Literal["data_uri", "cid"].getandget_asyncnow acceptparamsand append the query viaPaginationHelper.build_paginated_path.Refactors
_receiving.pyto satisfy flake8 E302 and added sync/async tests coveringhtml_formatURLs.Written for commit 911ca81. Summary will update on new commits.