A toolkit to use the gmail API to download and analyze emails
Navigate to the Google Developer console and create a new project, get service account credentials for that project. Save the json file it generates as
credentials/credentials.json.Copy
keys.json.exampleintokeys.jsonand fill out the oauth token and key.Install packages
pipenv installDownload emails into a sqlite database called
emails.dbpython downloader.pyRun the jupyter notebook for analysis
pipenv run jupyter notebook EmailAnalysis.ipynb
pipenv install -e git+git@github.com/dmil/EmailAnalysis.git#egg=emailanalysis
pipenv install -e git+git@github.com/dmil/EmailAnalysis.git@COMMIT_SHA#egg=emailanalysis
where COMMIT_SHA is the hash of the commit you want to install from