Your Slack channel can get pretty cluttered when unnecessary or unhelpful emails come in. Thankfully, with SharedInbox you can leverage Gmail labels to filter what emails show up in Slack. This can help you and your team cut through the noise and focus on managing the emails that actually matter.
In this article, we’ll show you how to select which Gmail labels to use when syncing email to your SharedInbox Slack channels.
As an example, let’s say we frequently get marketing emails from some company that we don’t need to see in Slack. We’ll create a Gmail label and filter these marketing emails to automatically assign a label.
Finally, we’ll update our SharedInbox channel settings so any emails with this label will not be posted to Slack. If you already have labels set up in Gmail, you can skip to the last section below.
Create a Gmail Label #
You’ll first need to open up Gmail and create a label on the left sidebar. Enter a name and click Create:

The new label will show up under Labels on the left sidebar in Gmail. You can also create nested labels to keep things organized.
Create a rule to automatically assign a label #
There are a variety of different rules you can use when creating message filters in Gmail, but we’ll keep our filter simple: When emails come in from this From address, apply the Marketing label.
- Select an email from your Inbox and click the three dots menu at the top
- Select Filter messages like these
- Set your search criteria – we’ll just use the default which has the From address as the search/filter criteria
- Click Create filter
- On the next page, select Apply the label, and select our Marketing label. You can also select Also apply filter to X matching conversations, if you want to have Gmail go back and label old/existing messages that match.
- Click Create filter

So now, any new emails that come into your Inbox that match this filter rule will automatically be assigned the Marketing label. Now we can use this label to help clean up our shared email inbox in Slack!
Choose which Emails go to your SharedInbox Slack Channel #
To choose which emails show up in your Slack channel:
- Sign in to your SharedInbox dashboard.
- Click the inbox in your list of inboxes on the left.
- Open the Settings tab.
- Under Gmail labels, tick the labels whose email should be posted to Slack.
- Click Save labels.

In this example only Notifications/High Priority is ticked, so email Gmail labels Marketing or Notifications/Low Priority won’t be posted. You still get it in Gmail; it just doesn’t show up in your Slack channel. Leave every label unticked to post everything.
Also post mail that has no label sends Slack any new email that doesn’t have one of your labels. If you’re not sure, tick it, so email Gmail doesn’t label isn’t missed.
