Overview
Add Gmail to any ModuleX agent or workflow. Gmail integration via the Gmail REST v1 API (www.googleapis.com/gmail/v1). Send email + list labels. Pure HTTP — does not depend on the google-api-python-client SDK.
Categories: Communication · Communication & Collaboration · Email · Productivity · Auth: OAuth2, Service Account / Access Token · Actions: 2
Authentication
- OAuth2
- Service Account / Access Token
OAuth2 Authentication
Connect using Google OAuth2 (recommended). Provides secure access to Gmail.Required Credentials
| Field | Description | Required | Format |
|---|---|---|---|
| Client ID | Google OAuth2 Client ID from Google Cloud Console | Yes | 123456789-xxxxxxxxxxxxxxxx.apps.googleusercontent.com |
| Client Secret | Google OAuth2 Client Secret | Yes | - |
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/gmail.send,https://www.googleapis.com/auth/gmail.labels
Available Actions
send_message — Send a new email via Gmail
send_message — Send a new email via Gmail
list_labels — List all available Gmail labels
list_labels — List all available Gmail labels
Response
Limits & Quotas
send_messagebuilds a base64url-encoded MIME message locally (no SDK dep).- Sending is limited to 500 messages/day (consumer accounts) or 2000/day (Google Workspace).
- 60s timeout for send, 30s for label listing.