AppsPricingBlogTry it
Gmail logo
GitHub logo

Connect Gmail to GitHub

Use 5 documented Gmail triggers to run 24 documented GitHub actions.

5 source triggers
24 target actions
Reverse direction supported

Why Connect Gmail & GitHub?

Start with a Gmail event

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

Run a GitHub action

Send the event into one of 24 documented actions, such as Create Issue, Search Issues and Pull Requests, Create Branch.

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

GitHub logo

GitHub

Triggers (12)

New Branch Created

Emit new event when a branch is created.

polling
New Card in Column (Classic Projects)

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

polling
New Collaborator

Emit new event when a collaborator is added

polling
New Commit

Emit new event when commits are pushed to a branch

polling
New Commit Comment

Emit new event when a commit comment is created

polling
New Discussion

Emit new event when a discussion is created

polling
New Fork

Emit new event when a repository is forked

polling
New Gist

Emit new events when new gists are created by the authenticated user. See the documentation

polling
New Issue Comment

Emit new event when a new comment is added to an issue or pull request

polling
New Label

Emit new event when a new label is created

polling
New Mention

Emit new event when you are @mentioned in a new commit, comment, issue or pull request. See the documentation

polling
New Notification

Emit new event when the authenticated user receives a new notification. See the documentation

polling

Actions (24)

Create Issue

Create a new issue in a GitHub repo. See the documentation

Search Issues and Pull Requests

Find issues and pull requests by state and keyword. See the documentation

Create Branch

Create a new branch in a GitHub repo. See the documentation

Create Gist

Allows you to add a new gist with one or more files. See the documentation

Create Issue Comment

Create a new comment in a issue. See the documentation

Create or Update File Contents

Create or update a file in a repository. See the documentation

Create Pull Request

Creates a new pull request for a specified repository. See the documentation

Create Repository

Creates a new repository for the authenticated user. See the documentation

Create Workflow Dispatch

Creates a new workflow dispatch event. See the documentation

Disable Workflow

Disables a workflow and sets the **state** of the workflow to **disabled_manually**. See the documentation

Enable Workflow

Enables a workflow and sets the **state** of the workflow to **active**. See the documentation

Get Commit

Get a commit in a GitHub repo. See the documentation

Get Current User

Gather a full snapshot of the authenticated GitHub actor, combining /user, /user/orgs, and /user/teams. Returns profile metadata (login, name, email, company, plan, creation timestamps) and trimmed lists of organizations and teams for quick role awareness. Helpful when you need to validate which user is calling the API, adapt behavior based on their org/team memberships, or provide LLMs with grounding before repository operations. See the documentation.

Get Issue

Get details of an issue in a GitHub repository. See the documentation

Get Issue Assignees

Get assignees for an issue in a GitHub repo. See the documentation

Get Repository Content

Get the content of a file or directory in a specific repository. See the documentation

Get Repository Info

Get information for a specific repository. See the documentation

Get Reviewers

Get reviewers for a PR (see documentation) or Commit SHA (see documentation).

Get Workflow Run

Gets a specific workflow run. See the documentation

List Branches

List branches for a repository using its owner/repo full name (for example, octocat/Hello-World). If you need to discover repository names first, use **List Repositories**. See the documentation

List Commits

List commits in a GitHub repo. See the documentation

List Gist Id Options

Retrieves available options for the Gist Id field.

List Gists for a User

Lists public gists for the specified user. See the documentation

List Organization Options

Retrieves available options for the Organization field.

Integration Features

5 documented Gmail triggers
24 documented GitHub actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported GitHub to Gmail direction

Capability Examples

Gmail trigger → GitHub action

Catalog example
GmailGmail

New Attachment Received

GitHubGitHub

Create Issue

GitHub trigger → Gmail action

Reverse direction
GitHubGitHub

New Branch Created

GmailGmail

Add Label to Email

How It Works

1

Connect Apps

Authenticate your Gmail and GitHub accounts

2

Choose a Trigger

Select a documented Gmail event

3

Choose an Action

Select the documented GitHub 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 24 documented GitHub 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.

GitHub logoGmail logo

Reverse Integration Available

Also connect GitHub to Gmail for bidirectional automation

View Integration
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations
GitHub logo

All GitHub Integrations

Explore all available GitHub connections

View All Integrations

Ready to Connect Gmail & GitHub?

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

Get Started Free