Sign up
  • Home
  • Automation with Zapier

Gmail to Slack: How to get Slack notifications for new Gmail messages

Zapier tutorials

2 min read

Gmail to Slack: How to get Slack notifications for new Gmail messages

By Justin Pot · November 8, 2019
gmail-to-slack-notifications-n primary img

Slack has replaced email for internal collaboration at many companies (thankfully). But what about when someone outside your company needs to get in touch? You probably still use Gmail for that.

If you live in Slack, however, you might not think to check your company Gmail very often. Happily, you can send emails over to any Slack channel quickly enough, allowing you and your team to stay on top of important emails. You can even discuss what the response should be before you send it.

Note: this Slack Gmail integration only works with business Gmail accounts. Free Gmail accounts are unsupported.

Push Gmail messages to a public Slack channel

Zapier allows you to build custom automations called Zaps. You can build a custom automation, from scratch, without any coding knowledge, but we also offer quick templates. Here's a Slack to Gmail integration that can send entire emails over to a public Slack channel:

If you're ready to start, click the Use This Zap button above. You will be asked to sign in to your Gmail and Slack accounts, then asked to which channel you'd like to send your emails. I recommend setting up a dedicated channel for this.

Setting up a Slack Gmail integration

You can click Turn on Zap right now and it will start working, but I recommend clicking Go to Advanced Mode and tweaking things a little.

Go to Advanced Mode

First: you can optionally choose to only send emails with a particular label or mailbox.

Choose a label for notifications

You can combine this Zap with Gmail's filters feature to fine-tune which emails get sent to Slack. Check out our guide to Organizing your inbox with filters to learn more.

You can also customize the Slack message with custom text. Type whatever you want, and use the Fields button to bring in content from the email.

Fields button

Click this, and you'll see fields like the subject line, the sender, and even the full message text in HTML or plaintext.

Pull in information from your email

Set this up to look exactly the way you want, then check out the rest of your options. I like to give the bot a name and an emoji, so I can tell it apart from any other bots I've set up.

Choose a name for your bot, and an emoji

Configure everything and you can test everything. You should see a message like this:

Gmail message in Slack

If everything looks good, turn on your Zap! If not, go back and tweak things until you get it just right. You will likely annoy your co-workers while troubleshooting, so consider using a dedicated testing channel when you're first setting things up, then switching when you've got things the way you want them.

How to get private notifications about new emails

Don't want email notifications on a public channel? That makes sense. Here's a template for getting a private direct message in Slack when new Gmail messages come in, instead of a post in a public channel.

The process for setting everything up is the same as above. You'll be asked to sign in to Gmail and Slack, then allowed to customize things if you want.

Want more workflows like this? Check out our Gmail to Slack integrations to learn more.

Get productivity tips delivered straight to your inbox

We’ll email you 1/wk, and never share your information.

Justin Pot picture

Justin Pot

Justin Pot is a staff writer at Zapier based in Hillsboro, Oregon. He loves technology, people, and nature, not necessarily in that order. You can follow Justin: @jhpot. You don't have to. But you can.

Related articles

Improve your productivity automatically. Use Zapier to get your apps working together.

Sign upSee how it works