On a schedule
Turn today's newsletters into one digest
All of today's newsletters become one summary email, and the originals are labelled and archived.
- Runs
- On a schedule
- Apps
- Gmail
- AI
- Yes, uses the built-in AI allowance
- Access
- read+write (gmail.modify, gmail.send)
Send this to your assistant
Create a ClickRuntime automation: every evening at 6pm, summarise today's newsletters into one email to me, then label them Newsletters and archive them.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Newsletters are the slow leak of attention. You subscribed to a dozen because each looked useful, and now twenty of them land daily between customer messages. You rarely read them when they arrive, so they pile up as unread bold numbers, and the inbox count becomes meaningless. Unsubscribing from all feels like losing something, and keeping them costs a little focus every time you open Gmail.
Each day, newsletters and list mail are found with a Gmail search. ClickRuntime's built-in AI reads them and writes a single digest with the essential points of each, which is emailed to you. The originals then get a label and leave the inbox, so your inbox shows only mail from people.
Readers who follow many publications, founders and analysts who want the information without the interruption will like it.
What you get out of it
You still get the content
Rather than unsubscribing, you read a condensed version of every newsletter, so the useful ideas reach you without twenty separate emails. You keep the value of your subscriptions while losing the daily clutter that comes with them.
The inbox becomes people only
With newsletters moved out of the inbox, what remains is mail written to you, and the unread count means something again. A clean inbox makes it easier to see customer mail and to trust the unread count again.
One reading session per day
Reading the digest once replaces many small interruptions, and you pick when to read it, such as during lunch or on a commute. You choose the moment, so reading becomes a pleasant habit and not an interruption.
Originals are kept, not deleted
Newsletters are labeled and archived instead of removed, so if the digest mentions something you want in full, the original is one search away. That safety net makes it easy to be relaxed about automatic filing.
Cheaper than missing out
Staying informed without sacrificing attention to unread counts is a better deal than the alternatives of ignoring newsletters or reading all of them. Most people find the digest more useful than the pile of unread issues it replaces.
How it works
What happens, step by step
Every day ClickRuntime finds the newsletters that arrived in your Gmail inbox in the last 24 hours.
It reads the sender, subject and content of each one.
AI writes a single digest with the main point of each newsletter, grouped by topic.
The digest is emailed to you, and the original newsletters are labelled and moved out of your inbox.
Before it runs live
- Connect Google through your own Google app (a one-time, 10-minute setup), so it works with your own Gmail
What you get
Build your own
Need it to work differently?
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 steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, credentials, ai, notify
@on_trigger
def run(event):
gmail = build("gmail", "v1", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
msgs = gmail.users().messages().list(userId="me", q="in:inbox newer_than:1d list:*", maxResults=50).execute().get("messages", [])
if not msgs:
return {"newsletters": 0}
items = []
for m in msgs:
meta = gmail.users().messages().get(userId="me", id=m["id"], format="metadata", metadataHeaders=["From", "Subject"]).execute()
h = {x["name"]: x["value"] for x in meta["payload"]["headers"]}
items.append(f"{h.get('From')} – {h.get('Subject')}: {meta['snippet']}")
digest = ai.generate("Summarise today's newsletters, two lines each, grouped by topic:\n" + "\n".join(items),
max_output_tokens=900).text
notify.email_me(f"Today's newsletters ({len(items)})", digest)
labels = {l["name"]: l["id"] for l in gmail.users().labels().list(userId="me").execute()["labels"]}
label = labels.get("Newsletters") or gmail.users().labels().create(userId="me", body={"name": "Newsletters"}).execute()["id"]
gmail.users().messages().batchModify(userId="me", body={"ids": [m["id"] for m in msgs],
"addLabelIds": [label], "removeLabelIds": ["INBOX"]}).execute()
return {"newsletters": len(items)}FAQ
Common questions
How does it recognize newsletters?
Will important mail be archived by mistake?
Is the digest long?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get an inbox summary twice a day
Twice a day you get one email listing what came in and what you need to act on.
See how it worksSend yourself a weekly newsletter from your feeds
Once a week your own newsletter arrives with the best posts from the blogs and sites you follow.
See how it worksGet a weekly SEO and security check of your site
Each week an email lists SEO and security-header problems on your page with suggested fixes.
See how it worksKeep exploring
Set up “Turn today's newsletters into one digest” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.