From 089084f4750c58caf66ee3c6ae858f2ea83618f1 Mon Sep 17 00:00:00 2001 From: Niraj D Date: Tue, 12 Sep 2017 11:02:46 -0400 Subject: [PATCH] create readme.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2ad1c06 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# noneroll +archive low priority emails and send daily summary (unroll.me without 3rd party access) + +# Setup +1. Create a new spreadsheet in google sheets that keeps track of low-priority email addresses +2. Create a new gmail folder. Mine is called ```zbulk```. If you name it differently, replace ```zbulk``` in the ```noneroll.gs``` file to the folder you want. As you add emails to this folder, the spreadhsheet gets populated with email addresses that will regularly be archived +2. Create a new google app scripts project + - copy code from ```noneroll.gs``` to the existing ```Code.gs``` or a new file if you choose + - replace ```sheetID``` with the id of the sheet created in step 1 + - replace ```zbulk``` in the functions ```arch```, ```addEmail```, and ```getEmails``` to your bulk folder label +3. Create project triggers. I run + - ```arch``` every 30 mins + - ```addEmail``` between midnight and 1am + - ```noneroll``` between 5 and 6am