Skip to content

Daily

Get a morning newsletter digest on Telegram

Yesterday's newsletters arrive as one short digest on Telegram at 7am, as text or a voice message.

Runs
Daily
Apps
Gmail, Telegram
AI
Yes, uses the built-in AI allowance
Access
Gmail gmail.readonly; Telegram bot token

Send this to your assistant

Create a ClickRuntime automation: every morning at 7, summarise yesterday's newsletter emails and send me the digest on Telegram as a voice message.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A product manager subscribes to fifteen industry newsletters. Most mornings they sit unread under work email, and on Friday she archives the lot. The one item that mattered to her roadmap went past without her seeing it.

A single digest at 7am, ready to read or listen to on the commute, keeps her informed without opening every newsletter.

What you get out of it

  • Stay informed in a few minutes

    One digest replaces a stack of long emails, so keeping up takes a short read or a listen with coffee.

  • Listen while you travel

    A voice message can be played on the commute or a walk, when reading is not practical.

  • A cleaner work inbox

    Newsletters no longer compete with work email for attention, because what matters reaches you elsewhere.

  • Keep your subscriptions

    You can stay subscribed to every source you value without feeling behind on all of them.

How it works

What happens, step by step

  1. Every morning at 7, ClickRuntime collects the newsletter emails you received yesterday.

  2. It keeps the main text of each one and drops footers, images and tracking links.

  3. AI writes one short digest with the key points from each newsletter.

  4. The digest is sent to you on Telegram as a message, a voice message, or both.

Before it runs live

  • Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
  • Connect Telegram

What you get

RunsDaily
Get a morning newsletter digest on Telegramtoday, 9:00Succeeded
Telegram · Morning digestGood morning. Retail Weekly: Acme cuts prices on its starter range. SaaS Notes: Northwind adds usage-based billing.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Run it at a different time, more or less often, or only on weekdays
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Gmail and Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
daily_email_digest_audio_or_text_on_telegram.pyexample
from googleapiclient.discovery import build
from google.oauth2.credentials import Credentials
from clickruntime import on_trigger, credentials, ai, http

CHAT_ID = "your-telegram-chat-id"

@on_trigger
def run(event):
    gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False).users()
    ids = gmail.messages().list(userId="me", q="label:newsletters newer_than:1d", maxResults=20).execute().get("messages", [])
    items = []
    for m in ids:
        msg = gmail.messages().get(userId="me", id=m["id"], format="metadata", metadataHeaders=["Subject", "From"]).execute()
        subject = next((h["value"] for h in msg["payload"]["headers"] if h["name"] == "Subject"), "")
        items.append(f"{subject}: {msg['snippet'][:400]}")
    bot = f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}"
    if not items:
        http.post(f"{bot}/sendMessage", json={"chat_id": CHAT_ID, "text": "No newsletters yesterday."})
        return {"items": 0}
    digest = ai.generate("Write a short morning digest, one line per item:\n" + "\n".join(items), max_output_tokens=600).text
    http.post(f"{bot}/sendMessage", json={"chat_id": CHAT_ID, "text": digest})
    audio = http.post("https://api.openai.com/v1/audio/speech", headers={"Authorization": f"Bearer {credentials.secret('OPENAI_API_KEY')}"},
                      json={"model": "tts-1", "voice": "alloy", "input": digest}).content
    http.post(f"{bot}/sendAudio", data={"chat_id": CHAT_ID}, files={"audio": ("digest.mp3", audio)})
    return {"items": len(items)}

FAQ

Common questions

How does it know which emails are newsletters?
It uses a Gmail label or the senders you list. Gmail's Updates and Promotions categories can also be used if your newsletters land there.
Can I choose text instead of audio?
Yes. You can get text only, audio only, or both. Text is useful when you want to tap the links to the original articles.
What if there were no newsletters yesterday?
You get a short message saying there was nothing new, or nothing at all if you prefer silence on quiet days.
What permissions does it need?
Gmail gmail.readonly; Telegram bot token. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run each time it runs (daily). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get a morning newsletter digest on Telegram” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.