Gmail: Send Email¶
Plugin ID: eca_gmail_send_email
Available since: 1.0.0
Send emails with HTML/plain text content and attachments via Gmail API with support for multiple recipients and custom headers.
Fields¶
Authentication Type— config key:auth_type-
Choose between API Client (OAuth2) or Service Account authentication.
Type:
select· Required: yes · Default:api_clientAllowed values:
api_client,service_account Authentication Source— config key:auth_from-
Choose whether to select authentication directly or use a token for dynamic selection.
Type:
select· Required: yes · Default:directAllowed values:
direct,token API Client— config key:api_client_id-
Search and select an API Client for OAuth2 authentication.
Type:
textfield· Required: no · Default: empty string Service Account— config key:service_account_id-
Search and select a Service Account for server-to-server authentication.
Type:
textfield· Required: no · Default: empty string Client ID from Token— config key:auth_client_from_token-
Token that resolves to a client ID (e.g., [user:field_google_client_id]). The token should contain just the client ID, not the auth type prefix.
This field supports tokens.Type:
textfield· Required: no · Default: empty string To— config key:to-
Recipient email addresses (comma-separated). Supports token replacement.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string CC— config key:cc-
CC email addresses (comma-separated). Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string BCC— config key:bcc-
BCC email addresses (comma-separated). Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Subject— config key:subject-
Email subject line. Supports token replacement.
This field supports tokens.Type:
textfield· Required: yes · Default: empty string HTML Body— config key:body_html-
HTML email content. If both HTML and plain text are provided, a multipart email will be sent. Supports token replacement.
This field supports tokens.Type:
textarea· Required: no · Default: empty string Plain Text Body— config key:body_plain-
Plain text email content. Used as fallback for HTML emails or as the main content for plain text emails. Supports token replacement.
This field supports tokens.Type:
textarea· Required: no · Default: empty string Reply-To— config key:reply_to-
Optional reply-to email address. Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Thread ID— config key:thread_id-
Optional Gmail thread ID to reply to an existing conversation. Supports token replacement.
This field supports tokens.Type:
textfield· Required: no · Default: empty string Message Token Name— config key:message_token_name-
Optional token name to store sent message information. Accessible as [token_name:message_id], [token_name:thread_id], etc.
Type:
textfield· Required: no · Default: empty string