gmail - Search and fetch emails via Gmail API
Search, fetch, and download emails and attachments using the Gmail API.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Check configuration status
- Authenticate with Gmail
- Manage permission scope
- Search emails with filters
- Download email attachments
- List Gmail labels
Inputs
- Gmail API credentials
- Search queries and filters
- Message ID
Outputs
- Search results in Markdown or JSON
- Downloaded attachment files
- Gmail labels list
- Scope configuration status
Requirements
- Python 3
- google-api-python-client package
- google-auth-httplib2 package
- google-auth-oauthlib package
- Google Cloud Project with Gmail API
- Credentials in ~/.gmail_credentials/
