Gmail to Slack: How to get Slack notifications for new Gmail messages
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.
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.
First: you can optionally choose to only send emails with a particular label or mailbox.
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.
Click this, and you'll see fields like the subject line, the sender, and even the full message text in HTML or plaintext.
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.
Configure everything and you can test everything. You should see a message like this:
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.