Extracting text from emails and their attachments

First time user please excuse me if I am in wrong place or need guidance. I am a beginner user of ChatGPT and have done a number of requests with success; they have been mainly of a search/query nature but the responses have been spot on in terms of detailed explanation. Something has arisen whereby I need to do an extraction of an email folder holding approx. 400 emails and their attachments. I want to establish a chronology of what was said in these mails and attachments on a couple of specific points and I am interested to know if such an ai research capability exists for the layman so that I can achieve the desired outcome. I am interested to know what ai product exists to do such an extraction and how I can use it. Many thanks.