Content Recommendations for Newsletters: Sending Each Reader What They Haven't Read
Personalized newsletter content recommendations come down to three moving parts: a topic signal per contact, a tagged content catalog, and a selection rule that ranks articles by topic match while excluding anything the reader has already seen. This tutorial builds exactly that — a newsletter where each subscriber gets three to five articles matched to what they actually read, with repeats filtered out — using settings and rules you can configure today.
What you are building (and what you need first)
The end state is one email template that renders a different shortlist for every contact. Reader A, who has been working through onboarding content, gets the two remaining onboarding pieces plus one adjacent topic. Reader B, who clicked two deliverability articles last month, gets deliverability and automation. Reader C, who just joined, gets a broad fallback set because there is no signal yet.
Three things make this work:
- A topic signal per contact. Every time someone clicks an article link or lands on an article page, you record which article and which topic.
- A content catalog with topic tags. Your articles, each with a stable ID and one or two topic labels.
- A selection rule. Rank the catalog by topic match, remove anything already read, take the top N.
Prerequisites, as a checklist:
- A content source where every article has a stable URL and a topic tag
- A way to record reads: link clicks from email, and page views on article pages if you use the JS SDK for website-behavior data
- Contact fields or tags to store the topic profile and the read history
- A sending tool that supports dynamic content blocks
If you have not set up behavioral tracking yet, start with the site-side capture described in personalizing emails with website behavior data — the same event stream feeds this build.
Choosing a provider at the same time? Our comparison of the Best Email Marketing Platforms ranks them by verified prices for your list size and sending volume.
Step 1: Tag your content catalog by topic
Build a simple table. Five columns are enough to start:
| article_id | title | url | topic | publish_date |
|---|---|---|---|---|
| a-101 | Welcome sequence that does not feel automated | /blog/welcome-sequence | onboarding | 2026-09-02 |
| a-102 | Setting up your first automation | /blog/first-automation | onboarding | 2026-09-14 |
| a-103 | Why your emails land in spam | /blog/emails-land-in-spam | deliverability | 2026-08-21 |
| a-104 | SPF, DKIM and DMARC without the jargon | /blog/spf-dkim-dmarc | deliverability | 2026-10-05 |
| a-105 | Branching logic in automations | /blog/branching-logic | automation | 2026-09-28 |
| a-106 | Re-engaging contacts who stopped opening | /blog/re-engagement | automation | 2026-10-19 |
Two decisions matter here. First, use a stable article_id. If you match on URL alone, renaming a slug silently breaks your exclusion logic and readers start seeing repeats. Second, keep topics broad enough that a reader accumulates a usable signal after two or three reads. "Onboarding" works. "Onboarding for e-commerce brands in Germany" does not — nobody will ever read three of those.
Step 2: Capture what each reader actually reads
You have two signal sources, and they are not equally reliable.
Email-side. Every article link in the newsletter carries a tracked parameter identifying the article. When the contact clicks, you write the article_id to their profile. A click means "interested enough to click" — a strong signal, but it can also be a mis-tap or a quick bounce-back.
Site-side. If the reader actually arrives on the article page, the JS SDK records a page view. This confirms arrival, which is weaker evidence of interest than a deliberate click but stronger evidence that the content was at least opened.
Record both, but weight the click higher. A typical event payload looks like this:
{
"contact_id": "c-8842",
"article_id": "a-104",
"topic": "deliverability",
"source": "email_click",
"timestamp": "2026-11-18T09:14:22Z"
}
On consent: only track what your consent records cover, and be ready to explain retention. Mailerflow's GDPR tooling includes consent logs, data export and erasure, and configurable retention, with data hosted in Europe — worth checking against your own privacy notice before you switch this on.
Step 3: Turn reads into a topic profile per contact
Keep the profile as a small set of readable fields, not a black box. Four fields cover most needs:
top_topics— ordered list, e.g.["deliverability", "automation"]topic_scores— numeric score per topiclast_read_at— timestamp of the most recent readread_article_ids— capped list of the last 50 article IDs
A scoring rule you can copy: +3 for an email click, +1 for a page view, then halve all scores every 60 days. Decay matters because interest moves. Someone who read six onboarding articles in March should not still be getting onboarding recommendations in November.
Before and after for one fictional contact:
| Field | Before | After two clicks and one page view on deliverability |
|---|---|---|
| top_topics | (empty) | deliverability, onboarding |
| topic_scores | {} | deliverability: 7, onboarding: 3 |
| read_article_ids | [] | a-103, a-104, a-101 |
Mailerflow's AI personalization steps and dynamic segments can hold this logic, and you can describe a segment in plain language and have it drafted for you — but keep the underlying rule explicit so you can audit why a contact received what they did.
Step 4: Write the selection rule (pick by topic, exclude what was read)
The rule runs at send time, per contact, in this order:
- Filter the catalog to published, non-expired articles.
- Remove every
article_idpresent in the contact'sread_article_ids. - Rank the remainder by topic match against
top_topics. - Break ties by recency or a manual priority field.
- Take the top 3–5. Not 10 — a long list dilutes clicks.
As pseudocode:
candidates = catalog.published().not_expired()
candidates = candidates.exclude(contact.read_article_ids)
ranked = candidates.sort_by(topic_score(contact) desc, publish_date desc)
shortlist = ranked.take(4)
if shortlist.length < 3:
shortlist += catalog.fallback("most_read_this_month")
Two edge cases will bite you. Cold contacts with no reads need a fallback branch — a broad "most read this month" set or a topic-picker block. Exhausted topics need widening: if a reader has read everything in their top topic, move to the second topic rather than sending an empty block.
Step 5: Build the email block and the dynamic content
Lay out the recommendation block as a heading, then a repeating unit: article title, one-line summary, topic label, and a CTA. Build it once in the visual block editor — headings, columns and reusable templates all work here — and bind the repeating block to the per-contact shortlist so the same template renders different articles.
In the editor, check three things before you send anything:
- The block repeats the correct number of times for a contact with four recommendations.
- The fallback renders cleanly for a contact with zero reads.
- The topic label does not overflow on mobile.
The surrounding copy — intro line, subject lines, preview text — is a good job for the AI email builder: describe the newsletter and it drafts a responsive design with subject lines and preview text. Just remember the AI drafts the wrapper; the selection logic stays in your rule.
Step 6: Schedule it and set the send time
Two scheduling options. A recurring campaign on a fixed day is predictable and easy to explain to readers. An automation triggered by inactivity or a new publish event is fresher but can feel noisy if it fires too often.
Either way, the recommendation set should be built at send time. That is the whole point: a reader who finished an article an hour ago will not receive it again. In automations, "send when the contact is most active" decides the moment the personalized block goes out. If you are weighing where to build this, Mailerflow's free plan covers 2,500 contacts and 10,000 emails a month, and paid plans start at $14.90/month with unlimited emails.
A worked example: three readers, one template
One catalog of 12 articles across three topics. Three fictional contacts.
| Contact | Top topics | Excluded | Recommended articles |
|---|---|---|---|
| Reader A | onboarding (6 reads) | 6 | 1 remaining onboarding + 2 deliverability |
| Reader B | deliverability, automation (3 reads) | 3 | 2 deliverability + 1 automation |
| Reader C | none | 0 | 3 from "most read this month" |
Reader A is the interesting case: their top topic is nearly exhausted, so the rule widens to the second topic instead of sending one lonely article. Same template, three different emails, no repeats.
How to verify it actually worked
Run these checks today, before your next real send:
- Seed test contacts with known read histories and confirm the rendered articles differ between them.
- Inspect
read_article_idsbefore and after a send to confirm new reads are appended. - Test the fallback path with a contact that has zero reads.
- Compare clicks by topic across two or three sends to see whether recommendations land where you expected.
- Confirm no article appears twice across consecutive sends for the same contact.
These are observable checks, not promised outcomes — treat them as a correctness test for the logic, not a performance forecast.
Common mistakes and how to fix them
- Matching on URL instead of a stable ID. A slug change breaks exclusion. Switch to
article_id. - No decay. A reader who binged one topic six months ago still gets it. Halve scores on a schedule.
- Too many recommendations. Ten items dilute attention. Cap at 3–5.
- No cold-start path. New contacts get an empty block. Add a fallback set or topic picker.
- Recording reads but never excluding them. Verify the exclusion filter runs before ranking.
- Tracking page views without consent coverage. Check consent records and retention settings first.
- An unbounded profile. Cap the read list and store the rest as aggregate scores.
FAQ
How many reads before recommendations are useful? Two or three reads in a topic is usually enough to rank it. Below that, use the fallback set — a single click is too thin a signal to build a shortlist on.
Should I exclude an article the reader clicked but did not finish? A click alone is weak evidence. If you can measure a page view or a scroll threshold, treat "clicked but never arrived" as not read and let it come back around.
What if a reader has read everything? Widen to the second topic, then fall back to the newest published articles. Never send an empty block.
Does this work with a small list? Yes, but cold-start dominates early on. A topic-picker form on signup gives you a signal before the first read.
How do I keep this GDPR-safe? Consent records, data export and erasure, configurable retention, and EU hosting. Check each against your own privacy notice.
Next steps
Start with one topic taxonomy and three articles per send. Run it for a few sends, then add time decay and a second topic. From there, the natural extensions are A/B testing the number of recommendations, using send-time optimization, and adding a topic-picker form for cold contacts. If you want to see how the ranking logic compares to product-style recommendations, product recommendation emails covers the layout side in more depth.
Describe your next email or automation in one sentence and let Mailerflow's AI build it — free plan, no credit card.


