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

replies to emails that aren't in the database #5

Open
azliu0 opened this issue Jan 28, 2024 · 0 comments
Open

replies to emails that aren't in the database #5

azliu0 opened this issue Jan 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@azliu0
Copy link
Member

azliu0 commented Jan 28, 2024

Currently, inside of emails.py, we do not handle emails that are replies to emails that aren't in the database (see the TODO in the file).

This case should be handled. I can think of two ways:

  1. ignore the previous context from all other emails in the thread, and start a fresh thread with this email only. all generated responses would only have context from this point in the thread
  2. take the full body, including all other emails in the thread, and do something with it. this could include only rendering the current email, and using the full body as context, or figuring out a way to render the entire chain (with possibly missing information)

There could be other ways to handle this, but we should probably do something at some point.

@azliu0 azliu0 added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant