GitHub logo
Gmail logo

Workflow template

Email new GitHub pull requests with Gmail

Email a reviewer when a GitHub pull request opens, including draft PRs. Send its number, title, repository, author, source and target branches, draft flag, creation time and GitHub link from your connected Gmail account.

How it works

From an opened pull request to the reviewer’s inbox

1 Trigger · 1 Action
GitHub1 · Trigger

Pull Request

Receive pull_request events from your selected repository with Actions filtered to opened. Draft PRs are included; later commits, reviews and status changes are excluded.

Gmail2 · Action

Email the pull request reviewer

Send a plain-text email to your fixed recipient with the PR number and title in the subject, plus repository, author, branches, draft flag, creation time and link in the body.

The result

A PR opening notice with branch and draft details

The email identifies the proposed source-to-target branch change. It does not contain the PR description, code diff or review comments.

Example pull request email

GitHub PR #99: Improve the Hamburg onboarding guide — Grüße

A new GitHub pull request was opened. PR #99: Improve the Hamburg onboarding guide — Grüße Repository: example-studio/onboarding-handbook Opened by: alex-example Branches: docs/hamburg-guide -> main Draft: false Created: 2026-09-17T15:00:00Z https://github.com/example-studio/onboarding-handbook/pull/99

Fictional PR. Branches are shown as source -> target. Receiving the email does not assign the recipient as a GitHub reviewer or grant repository access.

Before activation

Set up your workflow

  1. Select the repository to watch

    Connect the FastHook GitHub App with access to the repository and choose it in the trigger browser. Keep opened selected in Actions. The prepared filter includes draft PRs.

  2. Connect Gmail and choose a fixed recipient

    Select your sending Gmail account and enter the recipient in Email the pull request reviewer. Start with your own address. Review the plain-text subject and body; no HTML, Cc or Bcc is configured.

  3. Activate, then open a fictional PR

    Wait for the GitHub trigger to connect, then open a fictional PR in the selected repository. Check the inbox and the sender’s Sent folder, including branch direction and the draft flag.

Details and limitations
  • Opening includes drafts. A draft PR opened after activation can send an email with Draft true. The workflow does not wait for ready-for-review and does not send another email for that later transition under the opened filter.

  • A one-way opening notification. Existing PRs are not imported. Edits, new commits, reviews, closures and reopenings do not send another email. The workflow does not assign reviewers, read email replies or synchronize review status.

  • Mail access and repeated sends. The recipient can read the copied title, repository and branch details, while a private PR link still requires GitHub access. Gmail keeps a Sent copy and applies its normal sending limits. Manual reruns or retries after ambiguous failures can resend the email.

Questions about this template

Are draft pull requests emailed too?

Yes. The opened filter includes draft PRs, and the email shows the draft flag. The workflow does not wait for the PR to become ready for review.

Does receiving this email assign me as a GitHub reviewer?

No. The Gmail action sends to a fixed recipient. It does not assign reviewers or modify the GitHub pull request.

Will new commits or submitted reviews send another email?

No. Only opened is selected. Edits, new commits, reviews, closed and reopened PRs do not send another notification through this recipe.

What does source -> target mean in the email?

It shows the PR’s head branch followed by its base branch, such as docs/hamburg-guide -> main. The email includes these names without copying code changes, PR body or comments.

Explore connected apps