How to send a new message in Slack when a new email is received in Gmail

Relay.app is an automation tool that lets you automate actions across Gmail, Slack, and many other apps. In this guide, we'll show you how to use Relay.app to automatically run the SlackSend message” action for each GmailEmail received” event.
Gmail logoGmail > Slack
Trigger
Last triggered
Gmail logoEmail received
Slack logoSend message
1

Set the Gmail trigger as "Email received"

Every playbook starts with a trigger. The trigger detects changes in your connected apps and runs your playbook in response.

Click "Add trigger" and select "Email received" under Gmail. Then, select the necessary details. This will allow your playbook to automatically detect the new email received in Gmail and initiate necessary actions.

If this is your first time using a Gmail integration in Relay.app, a prompt will guide you through the connection process.

2

Add the "Send message" in Slack automation

Integrate the Slack automation into your playbook to ensure the prompt send of message in Slack as a notification for each specific email received in Gmail.

Click the "Add step" button, then locate the "Send message" automation for Slack and input the mandatory and relevant details.

If your Slack account isn't already connected to Relay.app, you will be prompted to complete that connection. Make sure to allow the necessary permissions for Relay.app to sync with your Slack account.

3

Activate your Relay.app playbook

Activating your playbook is the final step to automate the sending of messages as notifications to the team in Slack. Once turned on, it will respond when a specific email is received in Gmail by sending a message in Slack, notifying the team about the email without manual intervention.

To enable your playbook, click the toggle button located in the header. It is advisable to perform a test run of your playbook beforehand to ensure all steps work seamlessly together and reminders are being sent correctly.

Watch the demo

See all blog posts ➔

More how-to guides featuring Gmail and Slack

See all how-to guides ➔

What will you automate?

Sign up and get started with your first Relay.app playbook today.
Background image