This doesn't read your emails, it just marks them as read. Useful if you have tons of emails that you want to mark as read.
-
Follow this guide to create a GCP project. Make sure to enable
Gmail API
-
Follow this guide to create oauth credentials. Make sure to add the email you plan to use as a test user. Download your client secrets, and rename the JSON file to
credentials.json
. -
Install deps
pip install -r requirements.txt # or pip3 if needed
- Run script
python main.py # or python3 if needed
License: MIT