/gmailbot

Start processes based on email it receives.

Primary LanguagePythonThe UnlicenseUnlicense

Start processes based on email it receives.

Instructions:

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