Tag Gmail Emails with Telegram Callback Button Clicks
When someone clicks a button in your Telegram bot, Notis automatically labels the related email. Your priority inbox stays in sync with your team's actions.
Trigger
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Action
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).
Why this helps
Neurodivergent founders can't track which emails need attention because signals are scattered across Telegram buttons and Gmail inboxes. Priority changes go unnoticed.
- Build a real-time priority system across Telegram and Gmail
- Tag emails the instant team members signal urgency
- Eliminate manual email triage work
- Track approvals and decisions as email labels
Setup
Build it in a few focused steps.
- 1Connect Telegram bot and Gmail to Notis.
- 2Set up your automation: 'When someone clicks the Approve button in Telegram, label the related email in Gmail as Approved.'
- 3Choose 'Callback Query Received' as your trigger and set where you want notifications.
- 4Test by clicking a button in your Telegram bot and confirming the email label updates instantly.
Questions about this workflow
Which emails get labeled if multiple messages are active?
You tell Notis which emails to target in plain language, like 'the email about this project' or 'the most recent email from this sender.'
Can I use different button labels for different Gmail tags?
Yes. Set up multiple automations, one per button type: Approve → label 'Approved', Reject → label 'Rejected', etc.
What happens if the Gmail email doesn't exist?
Notis can create a draft or log the action so you don't lose the signal. You'll be notified of the mismatch.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Telegram to Gmail. A trigger fires from one place; an action lands in another.
Telegram triggers
Gmail actions
New Message Received
Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.
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).
New Channel Post
Triggered when a new post is published to a channel where your bot is an administrator.
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.
Callback Query Received
Triggered when a user taps an inline keyboard button attached to one of your bot's messages.
Create label
Creates a new label with a unique name in the specified user's gmail account.
Message Edited
Triggered when a message in a chat your bot can see is edited by its sender.
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`.
New Chat Member
Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.
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.
Fetch emails
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
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`.
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 Telegram 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.
