python3 -v
==3.x
pip install google-api-python-client
pip install google-auth-httplib2
pip install google-auth-oauthlib
- Google account with GMail
- Browser (somewhere)
git clone https://github.com/py660/RickMail.git
cd RickMail
pip3 install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
#### Download credentials.json
python3 main.py
- Go to the Google Cloud Console
- Click Create Credentials, then OAuth client ID
- Select Desktop, then name the OAuth client something descriptive, such as
Email Rick-roll Bot
- Click Create, then save the credentials as a JSON file (resulting in
credentials.json
being downloaded) - Ensure the
credentials.json
is in the same directory asmain.py