Skip to content
Notis

Find the email context behind a Slack DM

Ask in Slack. Get the matching email context from Gmail, ready for your next step.

Trigger

Direct Message Received

Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.

Action

Fetch emails

Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.

Why this helps

A DM can refer to an email thread you have to hunt down manually, interrupting the work you were doing.

  • Look up relevant emails while the request is still in front of you.
  • Reduce manual Gmail searches and context switching.
  • Keep the result tied to the Slack request that prompted it.

Setup

Build it in a few focused steps.

  • 1Connect Slackbot and Gmail once in the Notis portal.
  • 2Create a new automation in the portal or tell Notis in plain language.
  • 3Describe how to find Gmail messages relevant to the DM and where to report the results.
  • 4Pick Direct Message Received as the trigger and choose a report channel.
  • 5Test with one real DM and confirm the matches are useful.

Questions about this workflow

Does this run for channel messages too?

No. This workflow uses the Direct Message Received event, which catches DMs. Choose a channel message trigger for channel posts.

Can it find a specific email if the DM mentions a person or topic?

Tell Notis what clues to use, such as a sender, subject, or phrase. The workflow can only search using information available in the DM and Gmail.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Slackbot to Gmail. A trigger fires from one place; an action lands in another.

Slackbot triggers

Gmail actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Modify email labels

Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create email draft

Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.

ActionInstant

New Channel Created Trigger

Triggered when a new channel is created in Slack.

TriggerInstant

Create label

Creates a new label with a unique name in the specified user's gmail account.

ActionInstant

Channel Message Received

Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.

TriggerInstant

Delete Draft

Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.

ActionInstant

Direct Message Received

Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.

TriggerInstant

Delete message

Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.

ActionInstant

Message Reaction Added

Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.

TriggerInstant

Fetch emails

Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.

ActionInstant

Message Reaction Removed

Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.

TriggerInstant

Fetch message by message ID

Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.

ActionInstant

Reaction Added Trigger

DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.

TriggerInstant

Fetch Message by Thread ID

Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.

ActionInstant

Connect any two apps with Notis in the middle.

Slackbot and Gmail, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Gmail.