Hmm, not sure if an index is the right thing here?
Maybe a list or vector index to create a summary of past emails, and then you feed the summary and X most recent emails + instructions to the LLM to generate a response?
In the past, i have used phone call transcriptions and created vector index directly with them and the responses were great. I was thinking of the same thing with emails, but I want to avoid any personal details that might be retrieved from the knowledgebase