Email Cleanup Follows Channel Cleanup
Your team wraps up a project and deletes the Slack channel. Notis automatically moves related emails to trash so your Gmail reflects the change.
Trigger
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
Action
Move to Trash
Moves an existing, non-deleted email message to the trash for the specified user.
Why this helps
Channels get deleted, but related email clutter remains in your inbox. You manually clean up later or leave a mess.
- Keep Gmail in sync with active team structure
- Automatically clean up emails from closed projects
- Reduce manual cleanup work
- Maintain a current inbox without stale conversations
Setup
Build it in a few focused steps.
- 1Connect Slack and Gmail.
- 2Create an automation: 'When a Slack channel is deleted, move related emails to Gmail trash.'
- 3Notis will match channel names to email labels or sender addresses.
- 4Decide whether to trash or label messages (you can also archive to a separate folder).
- 5Test by archiving or deleting a test channel and checking Gmail.
Questions about this workflow
Will this permanently delete emails?
By default, Notis moves them to trash, where they stay for 30 days. You can recover them if needed. Permanent deletion requires explicit confirmation.
What if I want to keep some emails from the channel?
Exclude those emails by label or sender. Notis can be selective about which ones get trashed.
Does this work for archived channels too?
Yes. You can trigger this on channel archival, deletion, or both.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Slack to Gmail. A trigger fires from one place; an action lands in another.
Slack triggers
Gmail actions
New Channel Created Trigger
Triggered when a new channel is created in Slack.
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).
Channel Message Received
Triggered when a message is posted in a Slack channel (public, private, or multi-party IM). Does NOT match direct messages.
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.
Direct Message Received
Triggered when a new direct message (DM) is sent to a user in Slack. Catches all DMs across all DM channels.
Create label
Creates a new label with a unique name in the specified user's gmail account.
Message Reaction Added
Triggered when a reaction is added to a message in Slack. Supports optional filtering by channel and emoji name.
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`.
Message Reaction Removed
Triggered when a reaction is removed from a message in Slack. Supports optional filtering by channel and emoji name.
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.
Reaction Added Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_ADDED` instead. Triggered when a reaction is added to a message in Slack.
Fetch emails
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Reaction Removed Trigger
DEPRECATED: use `SLACK_MESSAGE_REACTION_REMOVED` instead. Triggered when a reaction is removed from a message.
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`.
New Bot Message Received Trigger
DEPRECATED: use `SLACK_CHANNEL_MESSAGE_RECEIVED` with `is_bot_message=true` instead. Triggered when a new bot message is posted to a Slack channel.
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`.
Connect any two apps with Notis in the middle.
Not just Slack and Gmail. Any combination from 985+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7 days free trial with 20$ free usage included.
No card. Works with personal or business Gmail.
