Repository for this bot
git clone https://github.com/Na3aga/gmbot.git
cd gmbot
python3 -m venv /path/to/new/virtual/environment
source /path/to/new/virtual/environment/bin/activate
pip3 install -r requirements.txt
Example of usage in main.py
For local use run with DEBUG
argument.
Useful links
Python email module examples
Async Google API Client
Gmail REST API reference
Using OAuth 2.0 to Access Google APIs