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
September 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 new mail is found in your Gmail inbox

    5 fields

  • New Labeled Email

    Triggers when a label is added to an email

    1 field

  • New Attachment

    Triggers when an email with an attachment arrives.

    6 fields

  • New Label

    Triggers when a new label is created.

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 approval request email and then wait until the email is approved or disapproved

    10 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

    Get an email via Id.

    1 field

  • Find Email

    Find emails using advanced search criteria. If no filters are provided, the latest emails are returned.

    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

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.