Code
cookbook/tools/gmail_tools.py
Usage
1
Create a virtual environment
Open the
Terminal and create a python virtual environment.2
Set up Google Cloud Project
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Gmail API for your project
- Create OAuth 2.0 credentials and download the client configuration file
3
Set your API keys
4
Install libraries
5
Run Agent