Retrieve Gmail Email Attachments on Demand from Telegram

Someone needs a file you sent via email? Mention it in Telegram, and Notis fetches the attachment instantly. No email hunting, no resending.

Trigger

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.

Gmail logo

Action

Get Gmail attachment

Retrieves a specific attachment by id from a message in a user's gmail mailbox, requiring valid message and attachment ids.

Why this helps

Neurodivergent founders constantly re-send files because colleagues can't find the original email. Time wasted searching instead of doing work.

  • Share files without resending or hunting through email
  • Keep file versions centralized in Gmail
  • Reduce file-sharing delays
  • Work in Telegram without breaking focus for email

Setup

Build it in a few focused steps.

  • 1Connect Telegram and Gmail to Notis.
  • 2Set up your automation: 'When someone asks for a file in Telegram, retrieve it from Gmail and share it here.'
  • 3Choose 'New Message Received' as your trigger and select Telegram for alerts.
  • 4Test by asking for a file in Telegram and verify the attachment downloads or links appear instantly.

Questions about this workflow

How does Notis know which email has the file?

You describe it in Telegram, like 'the Q3 budget spreadsheet' and Notis finds the Gmail email with that attachment.

What if multiple versions of a file exist?

Notis can fetch the most recent version or ask you which one you need. You control the logic.

Are there file size limits?

Notis can share files up to Gmail's size limits. Very large files are linked for download rather than embedded.

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 logo

Telegram triggers

Gmail logo

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.

TriggerInstant

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

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

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

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Create label

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

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

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

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

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

Fetch emails

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

ActionInstant

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

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.

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.