qor Digest Tech Spec

How qor Digest turns newsletters and feeds into a searchable reading list. As of November 29, 2026.

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 scopeOut of scope
Email, feed and Claude Code skill ingestionFeature hosting, storage and backups (qor core)
Summarizing messages and saved articlesHow Claude providers are configured (qor core)
Read later, archive, search, widget and settingsTheme styling
SourcesEmail newslettersRSS and Atom feedsEmail, via Claude CodeGmail fetch (main)Search by senderPlain text, links keptFeed reader (main)Fetch and parseSame message shapeDigest skillSearches, reads andsummarizes the mailSummarize in the appOne schema-bound Claude request per messageSummary plus article linksentries.jsonAlready summarizedRead by Pull latestMerge into content/digest.jsonPage, widget and Settings read from hereFetch buttonPull latestThe skill path covers email sources only.
Three kinds of input end up in one list of digest entries.

Data model

Digest keeps everything in its own feature content file, so it is saved and backed up like any other qor feature.

content/digest.jsonlastRun: checkpoint for the next fetchsources[]id, labelmatch: sender text or feed URLentries[] (up to 300)id: message id or feed item linksourceLabel, from, subject, receivedAtsummary, readarticles[]: title, urlreadLater[]id, entryId, sourceLabeltitle, url, addedAtsummary (optional)A copy, independent of its entryarchive[] (up to 300)A read-later itemplus archivedAtRead laterMark as read moves an item to the archive.
One content file holds sources, entries and saved articles.
  • 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.
Digest jobMain processGmail and feedsClaudeGmail search requestsearch, then get eachmessagesplain-text messagesfetchFeed, per feedGET feedRSS or Atom XMLnew itemsaskJson, one message at a timesummary and article linksmerge new entries,update checkpoint
The Fetch button runs as a background job.

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.

Claude Code skillGmail connectorentries.jsonqor appread sources, ids andlastRun from digest.jsonsearch per sourcenew messagessummarize eachoverwritePull latest: readentriesmerge unknownids as unread
The skill and the app exchange data through two files.

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.

FieldContent
summaryA plain-English summary of 2 to 4 sentences
articlesA 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.

Digest pageWeb fetch (main)Article siteClaudefetchText(url)GET pageHTML or plain textreadable textask: 2 to 3 paragraphssummary, or UNREADABLEstore summaryon the item
A saved article is read from its own link, then summarized.

A summary can be redone or hidden. It stays with the item when the item moves to the archive.

User experience

ViewWhat it does
PageFetch and Pull latest, search, Read later, a collapsible Archive and the entry list. Entries can be marked read or unread, or dismissed.
WidgetUnread count, saved articles with a mark-as-read control, last update time and a link to the page
SettingsGmail 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

InterfaceUsed for
gmail.fetchMessagesSearch for and read messages from the configured senders
gmail.status, connect, disconnect, saveCredentialsSet up the Gmail connection
digest.fetchFeedRead one RSS or Atom feed
digest.runRead the skill's output file
webFetch.fetchTextRead the text of one saved article
claude.askJson, claude.askEntry summaries and article summaries
jobs.startRun 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.