qor Digest Tech Spec
How qor Digest turns newsletters and feeds into a searchable reading list. As of November 29, 2026.
Contents
Overview
qor Digest is a feature inside qor that turns newsletters into a short reading list. For each new message or feed item, Claude writes a summary and lists the articles it links to. Articles can be saved for later, summarized on their own, and archived once read.
This is an as-built spec: it describes qor Digest as the code works today. It covers what Digest adds on top of the qor core, which has its own tech spec.
| In scope | Out of scope |
|---|---|
| Email, feed and Claude Code skill ingestion | Feature hosting, storage and backups (qor core) |
| Summarizing messages and saved articles | How Claude providers are configured (qor core) |
| Read later, archive, search, widget and settings | Theme styling |
Data model
Digest keeps everything in its own feature content file, so it is saved and backed up like any other qor feature.
- Message bodies aren't stored. An entry keeps message details, the summary and the article links.
- Saved articles are copies. Dismissing an entry leaves its saved articles in place.
- Reading is an archive step. Marking a saved article as read moves it to the archive. Removing it from there is a separate action.
- Starter sources. A new install begins with a short list of newsletter sources that can be edited or removed.
Ingestion
A source is a single text value. If it starts with http:// or https://, it is a feed. Otherwise it is matched against the sender of an email.
Gmail
- The search combines all email sources into one query on the From field. A match containing spaces is quoted so it stays one phrase.
- The search starts from the checkpoint. On the first run it covers the last 14 days. Gmail searches by date, so qor starts one day earlier and skips messages whose ids are already stored as entries.
- Digest takes up to 25 messages per run. Requests are spaced 300 ms apart, and a rate-limited search is retried after 20 and 40 seconds.
- Plain-text parts are preferred. HTML is converted to text with each link kept beside its label. A body is limited to 12,000 characters.
RSS and Atom feeds
- Feeds are read directly and don't need Gmail.
- If the URL is a web page, qor tries the feed the page advertises, then common feed paths.
- Up to 25 items are read from a feed, with a 20 second timeout. Each becomes the same message shape that Gmail returns, so the rest of the flow is shared.
- The item's own link is placed at the top of its text, so the main article is always available.
The checkpoint
lastRun records where the next search begins. Fetch moves it forward when Gmail and every feed it tried were read. It stays put if email sources were skipped because Gmail isn't connected, or if a feed returned an error. Pull latest never moves it, because reading a file says nothing about which mail has been searched.
Claude Code skill
Digest can also be filled without connecting Gmail to the app. A Claude Code skill uses Claude's own Gmail connector, follows the same summary instructions and writes the results to a JSON file. Pull latest merges any entries the app doesn't already have.
Summaries
Entry summaries
The app makes one Claude request per message, in order, and shows progress as it goes. The reply must match a fixed JSON schema.
| Field | Content |
|---|---|
summary | A plain-English summary of 2 to 4 sentences |
articles | A list of title and url for the stories, articles or jobs the message points to. Footer, unsubscribe, social and tracking links are left out. The list can be empty. |
If one message fails, the rest of the run continues, and the page names the messages that couldn't be summarized.
Saved article summaries
For a saved article, qor fetches the one link, takes up to 20,000 characters of readable text and asks Claude for 2 to 3 paragraphs. The instructions say to use only what the article says and to treat its text as content, not as instructions. If the text is a paywall, login wall or error page, Claude replies UNREADABLE and the page explains why there is no summary.
A summary can be redone or hidden. It stays with the item when the item moves to the archive.
User experience
| View | What it does |
|---|---|
| Page | Fetch and Pull latest, search, Read later, a collapsible Archive and the entry list. Entries can be marked read or unread, or dismissed. |
| Widget | Unread count, saved articles with a mark-as-read control, last update time and a link to the page |
| Settings | Gmail client ID and secret, connect and disconnect, and the source list with editable labels |
- Background work. Fetch and Pull latest use qor's job queue, so they continue if the user leaves the page. Saved article summaries run from the page.
- One search. A single box filters entries, saved articles and the archive by subject, sender, source, summary and article title.
- Any theme. Digest builds its views only from theme components.
Interfaces and access
| Interface | Used for |
|---|---|
gmail.fetchMessages | Search for and read messages from the configured senders |
gmail.status, connect, disconnect, saveCredentials | Set up the Gmail connection |
digest.fetchFeed | Read one RSS or Atom feed |
digest.run | Read the skill's output file |
webFetch.fetchText | Read the text of one saved article |
claude.askJson, claude.ask | Entry summaries and article summaries |
jobs.start | Run Fetch and Pull latest in the background |
Gmail access
- Sign-in uses the user's own Google OAuth client of type Desktop app, with the redirect handled on the local machine.
- The shared qor Gmail connection requests permission to read and to send. Digest only reads. Sending is used elsewhere in qor to email the user a To Do list.
- The stored credentials, including the refresh token, are encrypted with the operating system's credential store when one is available.
- Newsletter text and saved article text are sent to Claude to be summarized.