#EmailSummarizer
This script will look for all emails of a given label. It will grab the first message and append it to a new document. Then it will email you a link to that document so that you don't get bombarded. Instructions:
- Create a filter in your Gmail that adds a label to the emails that you want this script to read. Make sure you also set the filter to mark these emails as read, since you will be getting them summarized for you.
- Copy the code below into a new Script in your Drive.
- Set the label variable (see documentation in code)
- Set the number of days you want the trigger to run (see documentation in code)
- Set the email address you want to send the link to the created document
OPTIONAL: Look in the code for a for loop that has been commented out. If you want the document to contain every single message and reply in the threads, then switch this code with the code below.