Skip to content

feat(search): return pretty sender email contact info from search backend#563

Merged
whutchinson98 merged 5 commits intomainfrom
hutch/m-5371-return-pretty-sender-email-contact-info-from-search-backend
Dec 11, 2025
Merged

feat(search): return pretty sender email contact info from search backend#563
whutchinson98 merged 5 commits intomainfrom
hutch/m-5371-return-pretty-sender-email-contact-info-from-search-backend

Conversation

@whutchinson98
Copy link
Copy Markdown
Member

@whutchinson98 whutchinson98 commented Dec 11, 2025

Summary

This PR updates the email search metadata to include sender and pretty_sender regardless of whether it's a content or name match.

To do this, I exposed a new endpoint in email service POST /messages/senders to get the sender/pretty sender of the message ids.

I also updated the get_thread_histories endpoint to contain the latest message in the thread's sender/pretty sender.

I tested this locally and it populates the correct match for both name and content hits.

Screenshots, GIFs, and Videos

@whutchinson98 whutchinson98 requested a review from a team as a code owner December 11, 2025 18:23
@linear
Copy link
Copy Markdown

linear bot commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

@gbirman gbirman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let er rip

Copy link
Copy Markdown
Contributor

@seanaye seanaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nits

@whutchinson98 whutchinson98 merged commit 64bea51 into main Dec 11, 2025
36 checks passed
@whutchinson98 whutchinson98 deleted the hutch/m-5371-return-pretty-sender-email-contact-info-from-search-backend branch December 11, 2025 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants