Skip to content
Gmail logo

Gmail integration

Email service by Google

Actions
11
Triggers
4
Auth
OAuth 2.0 or Custom auth
License
MIT, open source
Updated
October 2026

About the Gmail integration

Add the Gmail piece to a flow, connect your account once, and the rest of the builder can read from it and write to it. Because the piece is open source you can run it on our cloud or self-host it, and combine Gmail with 760+ other apps in the same flow.

Triggers

Start a flow the moment something happens in Gmail

Each trigger below can start a flow on its own, either instantly or on a schedule.

  • New Email

    Triggers when a new email matching the filters arrives.

    5 fields

  • New Labeled Email

    Triggers when this label is added to an email.

    1 field

  • New Attachment

    Triggers for each attachment on a new email.

    6 fields

  • New Label

    Triggers when a new label is created in Gmail.

Actions

Everything Activepieces can do in Gmail

Drop any of these into a flow and fill in the fields. No code is required.

  • Send Email

    Send an email through a Gmail account

    12 fields

  • Request Approval in Email

    Send an email with an approval link and pause until it is answered.

    11 fields

  • Reply to Email

    Reply to an existing email.

    7 fields

  • Create Draft Reply

    Creates a draft reply to an existing email.

    8 fields

  • Get Email

    Read one email by its message ID, including attachments.

    1 field

  • Find Email

    Search your mailbox; with no filters it returns the latest emails.

    12 fields

  • Create Label

    Create a new label in the mailbox.

    1 field

  • Add Label to Email

    Apply a label to an email message.

    2 fields

  • Remove Label From Email

    Remove a label from an email message.

    2 fields

  • Archive Email

    Archive an email message by removing it from the inbox.

    1 field

  • Custom API Call

    Make a custom API call to a specific endpoint

    10 fields

Use Gmail in a flow

Connect Gmail once and every trigger and action above is yours to drop into the builder, alongside 760+ other apps. Free to start, on our cloud or your own servers.

Gmail, answered.

Yes. Activepieces is open source and free to start, and the Gmail piece is included on every plan, from the free cloud tier to any self-hosted deployment.

Add the Gmail piece to a flow, then authenticate with OAuth 2.0 or Custom auth. Once connected, its 4 triggers and 11 actions are available anywhere in the builder.

"New Email" can start a flow that runs "Send Email", and you can chain Gmail together with any of 760+ other apps and AI steps in between.

Yes. Activepieces is fully self-hostable, so you can run the Gmail piece on your own infrastructure with your connections and your data staying in your environment.

Yes. Every piece you connect can be exposed over one Activepieces MCP server, so Claude, Cursor, Windsurf or any MCP client can call Gmail actions as tools.