Skip to main content
Gmail logo

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 Authentication

Connect using Google OAuth2 (recommended). Provides secure access to Gmail.

Required Credentials

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

Parameters

string
required
Recipient email address
string
required
Email subject line
string
required
Email body content
string
CC recipients (comma-separated)
string
BCC recipients (comma-separated)
boolean
Whether the body is HTML content (Default: false)

Response

Response

Limits & Quotas

  • send_message builds 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.

Microsoft Outlook

AgentMail

Mailgun