Repository navigation
feat(receiving): filter listed received emails by recipient and date - #325
Conversation
klotty
left a comment
There was a problem hiding this comment.
cubic analysis
No issues found across 3 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Linked issue analysis
Linked issue: MES-2916: SDKs: add to, start_date, end_date filters to emails.receiving.list
| Status | Acceptance criteria | Notes |
|---|---|---|
| ✅ | Add optional recipient and date filters to receiving lists | ListParams includes all three filters, and both list methods pass them to the shared query builder. |
| ✅ | Serialize filters using the specified query parameter names | Tests verify the comma-joined to value and the start_date and end_date parameters in sync and async requests. |
Auto-approved: Adds optional recipient/date filters to Emails.Receiving.list/list_async by reusing the existing query-path builder; unset filters are omitted and tests pin the new query strings. The change is additive and preserves existing pagination behavior.
View guided diff | Re-trigger cubic
14128a8 to
e70a882
Compare
klotty
left a comment
There was a problem hiding this comment.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Adds optional recipient and date filters to Emails.Receiving.list/list_async by reusing the existing inbox query-path builder; tests pin the new query strings and unset filters are omitted, keeping pagination unchanged.
View guided diff | Re-trigger cubic
Adds optional
to,start_dateandend_datefilters toresend.Emails.Receiving.listandlist_async.totakes up to 20 addresses and matches any of them exactly (case-sensitive). It is sent as one comma-joinedtoparam.start_dateandend_datetake an ISO 8601 date or timestamp (UTC without an offset). A bareend_datecovers the whole day. Pagination (limit,after,before) works as before.Inboxes.Threads.search.API: resend/resend-monorepo#13763 and resend/resend-monorepo#14432 (behind the
api-filteringteam flag)Node SDK: resend/resend-node#1202
Linear: MES-2916
Summary by cubic
Adds optional
to,start_date, andend_datefilters toresend.Emails.Receiving.listandlist_async, implementing the query params added to the API behind theapi-filteringflag (MES-2916), and bumps the version to 2.56.0.toaccepts up to 20 addresses, matches any of them exactly and case-sensitively, and is sent as a single comma-joined parameter.start_dateandend_dateaccept ISO 8601 dates or UTC timestamps; a bare date forend_datecovers the whole day.build_inbox_query_pathfromresend.inboxes._query, mirroringInboxes.Threads.search. Pagination (limit,after,before) behaves as before, and unset filters are omitted from the request.Written for commit e70a882. Summary will update on new commits.