Prerequisites
The Gmail toolkit requires Google API client libraries and proper authentication setup. Install the required dependencies:- Go to Google Cloud Console
- Create a project or select an existing one
- Enable the Gmail API
- Create OAuth 2.0 credentials
- Set up environment variables:
Example
cookbook/tools/gmail_tools.py