AppsPricingBlogTry it
Gmail logo
Google Cloud logo

Connect Gmail to Google Cloud

Use 5 documented Gmail triggers to run 15 documented Google Cloud actions.

5 source triggers
15 target actions
Reverse direction supported

Why Connect Gmail & Google Cloud?

Start with a Gmail event

Choose from 5 documented triggers, including New Attachment Received, New Email Matching Search, New Email Received.

Run a Google Cloud action

Send the event into one of 15 documented actions, such as Bigquery Insert Rows, Create Bucket, Create Scheduled Query.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Gmail logo

Gmail

Triggers (5)

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

polling
New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

polling
New Email Received

Emit new event when a new email is received.

polling
New Labeled Email

Emit new event when a new email is labeled.

polling
New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

polling

Actions (20)

Add Label to Email

Add label(s) to an email message. See the docs

Approve Workflow

Suspend the workflow until approved by email. See the documentation

Archive Email

Archive an email message. See the documentation

Bulk Archive Emails

Archive multiple emails at once. See the documentation

Create Draft

Create a draft from your Google Workspace email account. See the documentation

Create Label

Create a new label in the connected account. See the documentation

Delete Email

Moves the specified message to the trash. See the documentation

Download Attachment

Download an attachment by attachmentId to the /tmp directory. See the documentation

Find Email

Find an email using Google's Search Engine. See the docs

Get Current User

Returns the authenticated Gmail user's name, email address, and mailbox stats (total messages and threads). Call this first when the user says 'my emails', 'my inbox', or needs identity context. Use the returned emailAddress to identify the user's own messages in **Find Email** results. See the documentation.

Get Send As Alias

Get a send as alias for the authenticated user. See the documentation

List Labels

List all the existing labels in the connected account. See the docs

List Send as a Delegate Options

Retrieves available options for the Send as a Delegate field.

List Send As Aliases

List all send as aliases for the authenticated user. See the documentation

List Signature Options

Retrieves available options for the Signature field.

List Thread Messages

List messages in a thread. See the docs

Remove Label from Email

Remove label(s) from an email message. See the docs

Send Email

Send an email from your Google Workspace email account. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Update Signature for Primary Email Address

Update the signature for the primary email address. See the documentation

Google Cloud logo

Google Cloud

Triggers (3)

New Pub/Sub Messages

Emit new Pub/Sub topic in your GCP account. Messages published to this topic are emitted from the Mazaal AI source.

polling
BigQuery - New Row

Emit new events when a new row is added to a table

polling
BigQuery - Query Results

Emit new events with the results of an arbitrary query

polling

Actions (15)

Bigquery Insert Rows

Inserts rows into a BigQuery table. See the docs and for an example here.

Create Bucket

Creates a bucket on Google Cloud Storage See the docs

Create Scheduled Query

Creates a scheduled query in Google Cloud. See the documentation

Get Bucket Metadata

Gets Google Cloud Storage bucket metadata. See the docs.

Get Object

Downloads an object from a Google Cloud Storage bucket, See the docs

List Bucket Name Options

Retrieves available options for the Bucket Name field.

List Buckets

List Google Cloud Storage buckets, See the docs

List Dataset ID Options

Retrieves available options for the Dataset ID field.

List Zone Options

Retrieves available options for the Zone field.

Logging - Write Log

Writes log data to the Logging service, See the docs

Run Query

Runs a query in BigQuery. See the documentation for more information.

Search Objects

Search objects by a prefix, See the docs

Switch Instance Boot Status

Switch a virtual machine instance boot status to start or stop it. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Upload An Object

Upload an object to a Google Cloud Storage bucket, See the docs

Integration Features

5 documented Gmail triggers
15 documented Google Cloud actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Google Cloud to Gmail direction

Capability Examples

Gmail trigger → Google Cloud action

Catalog example
GmailGmail

New Attachment Received

Google CloudGoogle Cloud

Bigquery Insert Rows

Google Cloud trigger → Gmail action

Reverse direction
Google CloudGoogle Cloud

New Pub/Sub Messages

GmailGmail

Add Label to Email

How It Works

1

Connect Apps

Authenticate your Gmail and Google Cloud accounts

2

Choose a Trigger

Select a documented Gmail event

3

Choose an Action

Select the documented Google Cloud operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 5 documented Gmail triggers.

Automated Actions

Run one of 15 documented Google Cloud actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Google Cloud logoGmail logo

Reverse Integration Available

Also connect Google Cloud to Gmail for bidirectional automation

View Integration
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations
Google Cloud logo

All Google Cloud Integrations

Explore all available Google Cloud connections

View All Integrations

Ready to Connect Gmail & Google Cloud?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free