Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(attachments): Prevent duplicate attachments from being indexed in forwarded emails #321

Open
junaid-shirur opened this issue Feb 12, 2025 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@junaid-shirur
Copy link
Contributor

junaid-shirur commented Feb 12, 2025

Duplicate attachments are being indexed when emails are forwarded within a thread. We need to implement a solution to prevent this while ensuring proper access to attachments.

Issue Details:

  • When an email is forwarded, its attachments may get duplicated.
  • For non-forwarded emails, we can use the threadId to check if an attachment already exists in the thread.
  • For forwarded emails, we still need to index the attachments but may need to adjust their permissions to ensure that other recipients can still access them
  • If a forwarded email includes new attachments, should we rely on the filename to differentiate them?
Image
@junaid-shirur junaid-shirur added bug Something isn't working enhancement New feature or request labels Feb 12, 2025
@junaid-shirur junaid-shirur self-assigned this Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant