Skip to content

Gmail: Send Draft

Plugin ID: eca_gmail_send_draft

Available since: 1.0.0

Send an existing Gmail draft message by its draft ID, useful for workflow approval processes and scheduled sending.

Fields

Authentication Type — config key: auth_type

Choose between API Client (OAuth2) or Service Account authentication.

Type: select · Required: yes · Default: api_client

Allowed 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: direct

Allowed 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

Draft ID — config key: draft_id

Gmail draft ID to send. You can get this from the Create Draft action token or from a List Drafts action. Supports token replacement.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Sent Message Token Name — config key: message_token_name

Optional token name to store the sent message information. Accessible as [token_name:id], [token_name:thread_id], [token_name:label_ids], etc.

Type: textfield · Required: no · Default: empty string