Gmail logo
Slack logo

Workflow template

Send Slack alerts for matching Gmail emails

Send a Slack alert for new Inbox emails matching your Gmail search. Include the subject, sender, received date and Gmail conversation link without forwarding the message body or attachments.

How it works

From a matching Gmail message to a Slack alert

1 Trigger · 1 Action
Gmail1 · Trigger

New Email Matching Search

Poll newly received Inbox messages matching subject:"[Alert]". Each matching received message can produce an alert, including replies that still match the query.

Slack2 · Action

Notify the email alerts channel

Post subject, From, received date and a direct Gmail conversation URL in the chosen channel. Use plain text with link and media previews disabled.

The result

A focused email notice in the alerts channel

Channel readers can identify the email from its metadata. Its body and attachments remain outside the prepared Slack message.

Example Slack email alert

New matching Gmail email Subject: [Alert] München project is ready for review From: Example Monitoring <alerts@example.com> Received: Wed, 16 Sep 2026 10:00:00 +0000 Open email: https://mail.google.com/mail/u/0/#all/example-slack-alert-thread

Fictional alert. Received is the email’s supplied date text. The conversation URL grants no mailbox access.

Before activation

Set up your workflow

  1. Review the Gmail Alert query

    Connect the mailbox and review subject:"[Alert]" in the trigger. Narrow or change it for the priority Inbox messages you want announced.

  2. Choose the Slack alerts channel

    Connect Slack and select a channel where the FastHook bot can post. Check its membership because sender and subject information becomes visible there.

  3. Activate and receive a fictional alert

    Allow a scheduled poll to process a new fictional matching email. Compare its subject, sender and date with Slack, then try the link while signed into the connected Gmail mailbox.

Details and limitations
  • New messages rather than mailbox history. Historical messages and later label changes are not imported. A new reply that matches the query can create another alert; the workflow does not collapse a whole conversation into one notice.

  • Metadata visibility without email forwarding. The selected channel sees subject, sender and received date. Bodies and attachments are not forwarded. Link and media previews are disabled in the prepared action.

  • Mailbox access and repeat notices. The Gmail link requires the same mailbox access; select that Google account if you use several. This is one-way notification, with no Slack-reply synchronization. Manual reruns can post another alert.

Questions about this template

Which search selects the priority email?

The prepared Gmail query is subject:"[Alert]". Review it before activation; the trigger processes newly received matching Inbox messages.

Are bodies and attachments forwarded to Slack?

No. The message contains subject, sender, received date and a Gmail conversation link. Bodies and attachments are not mapped, and link previews are disabled.

Why can a reply create another alert?

Each newly received message that matches the query is eligible, including replies. The workflow does not create only one alert per conversation.

Does the link let all channel members read the email?

No. They can read the metadata copied into Slack, but the source link still requires access to the connected Gmail mailbox.

Explore connected apps