Skip to content

Conversation

@evanhutnik
Copy link
Contributor

Summary

Updating logic for uploading of email attachments to DSS.

If a previously-uploaded attachment has been soft-deleted by the user, we should not serve that ID for the attachment anymore and should re-upload the attachment to DSS as if it never existed.

When uploading an attachment on-demand for a user (not during the backfill or inbox syncing process, but when they click on the attachment in the email block), we should set the created_at/updated_at/viewed_at for the document to now() so it shows up at the top of soup, instead of the timestamp of when the email was sent.

Screenshots, GIFs, and Videos

@evanhutnik evanhutnik requested a review from a team as a code owner December 8, 2025 15:09
@linear
Copy link

linear bot commented Dec 8, 2025

@evanhutnik evanhutnik merged commit a7403c2 into main Dec 8, 2025
35 checks passed
@evanhutnik evanhutnik deleted the evan/comms-55-email-upload-attachment-endpoint-issues branch December 8, 2025 16:44
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.

3 participants