gmail - Search and fetch emails using the Gmail API
Searches, fetches, and downloads emails and attachments using the Gmail API.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
What this skill does
- Check setup status
- Authenticate with Gmail
- Manage API permission scope
- Search emails with filters
- Download email attachments
- List Gmail labels
Inputs
- Search queries
- Message IDs
- Search filters
- Scope settings
- Output directory paths
Outputs
- Email search results
- Downloaded attachment files
- Gmail label lists
- Setup status reports
- API scope information
Requirements
- Python 3
- google-api-python-client
- google-auth-httplib2
- google-auth-oauthlib
- Gmail API credentials file
