Using the Gmail API for Python, A raspberry Pi and an old change machine to make an internet connected change machine for online transactions.
quickstart.py was made following the instructions here: https://developers.google.com/gmail/api/quickstart/python
quickstart.py will not work without the file client_secret.json. Follow Step 1 in the above tutorial to make this file. DO NOT STORE THE CLIENT SECRET FILE ON GITHUB!!!!! IF THE FILE IS COMMITED, DISABLE THE PERMISSIONS OF FILE HERE: https://console.developers.google.com/apis/credentials
Use the Google API Explorer to learn what other things you can do with the GMAIL API. It's kinda fun: https://developers.google.com/apis-explorer/#p/gmail/v1/