Browse documentation

Integrations

Gmail

Send an email or create a draft from workflow data.

Automation buildersAdministratorsIntermediateAvailable

What this guide covers

  • A Google account through OAuth for the Gmail mailbox that should send or store drafts.
  • 2 supported workflow actions.
  • The connection can act only within the authorized mailbox and granted scopes. Use a dedicated business mailbox when appropriate.
  • A sent email is an external side effect; Workflow Test should not be treated as permission to send live.

What Gmail connects

A Google account through OAuth for the Gmail mailbox that should send or store drafts.

Send an email or create a draft from workflow data.

Prerequisites and permissions

  1. Google account with Gmail access
  2. Valid recipient, subject, and body values
  3. Approval to send the intended business email

Connect and configure

  1. Open the intended Agent Project → Integrations.
  2. Find Gmail and select Connect.
  3. Complete authorization with the correct external identity.
  4. Confirm the returned connection status is active.
  5. In the workflow builder, add App Action.
  6. Select Gmail, choose one supported action, select the connection, and complete the fields Yanola displays.
  7. Save and test with controlled data before activation.

Supported actions

Gmail workflow actions
Action IDWhat it does
send_emailSend an email.
create_draftCreate an email draft.

Example workflow

Create a draft escalation email with extracted customer details for a human to review.

Gmail pattern
text
Workflow Trigger → Validate inputs → App Action (Gmail) → Condition → Notify or End Flow

Reconnection and token expiration

  1. Open Integrations when a workflow reports a missing, expired, revoked, or error connection.
  2. Select Reconnect for Gmail.
  3. Authorize the intended identity again.
  4. Validate access to the exact resource used by the workflow.
  5. Retest every dependent App Action.

Troubleshooting

Gmail troubleshooting
SymptomWhat to check
Connection is expired, revoked, or errorReconnect from Integrations and complete provider consent.
Action cannot find a resourceGrant the connected identity access and use the exact provider ID.
Action input is rejectedMatch the action-specific fields and data types shown in the node.
Test and live behavior differCheck provider environment, current permissions, external rate limits, and live data.

Limitations and security

A sent email is an external side effect; Workflow Test should not be treated as permission to send live.

The catalog does not expose inbox search, reply, attachment management, or mailbox administration.