Start processes based on email it receives.
Instructions:
- Create a gmail account or use an existing throwaway gmail.
- Create a project using this mail: https://console.developers.google.com/projectselector2/apis/dashboard
- Enable gmail api: https://console.developers.google.com/apis/library/gmail.googleapis.com
- Enable drive api: https://console.developers.google.com/apis/library/drive.googleapis.com
- Create credentials, choose 0auth, choose other: https://console.developers.google.com/apis/credentials
- Download credentials, rename to credentials.json, place it in same folder as the project.
- Install python libraries from requirements.txt
- Change the necessary variables at the bottom of gmailbot.py
- Start gmailbot.py and try sending an email to your bots gmailaccount with the chosen subject and command.
- Change commands or try the existing ones.
- Profit(?)