---
agent:
  instructions: "Use this search API to find what Blueping's public pages say, with keywords or a question, instead of crawling them one by one. Results are returned in Markdown, best first, each with its link."
  endpoint: "https://blueping.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

> The index of these docs for agents is at https://blueping.dev/llms.txt

# Every newsletter, one digest.

The agent subscribes with its own address, confirms each list and sends your team the items that matter each morning, with their sources.

Each issue reaches halcyon-research@blueping.dev, and at 7:30 the agent sends the analysts one digest with every source, leaving out what was held.

## How can an AI agent subscribe to newsletters and summarize them?

Subscribe the agent's own address to each newsletter, confirm every list with the link GET `/v1/inboxes/{id}/code` returns, then each morning read what arrived since yesterday and send your team one digest with POST `/v1/inboxes/{id}/messages`. Issues that hide orders for the summarizer, such as ignoring its instructions, are held before the agent reads them, and every other issue reaches the model marked as data written by someone else.

## Why research newsletters belong in their own inbox

Halcyon Energy's two analysts follow 25 newsletters and a dozen company update lists about the European power market. Reading them takes an hour a day, and half the issues repeat what the others said. They want an agent to read everything and send one digest each morning: the ten items that matter, each with its source.

Subscribing a person's mailbox makes the agent wade through everything else in it, and subscribing a shared Gmail invites the same tracking, consent screens and spam filters. Newsletters also carry hidden preview text, tracking links and sometimes text written for the AI that summarizes them: a line in white that tells the summarizer to recommend a product.

Now the lists go to halcyon-research@blueping.dev and nowhere else. The agent subscribes, confirms each list with the link from its confirmation email, reads issues as clean text with their links sorted, and never sees an issue held for hiding orders aimed at it.

## From a subscription to the morning digest

The agent subscribes, reads and writes; Blueping receives, confirms, filters and sends.

### 1. Create the research inbox

One address for every list, with a `display_name` that tells publishers who reads it.

**Call:** POST `/v1/inboxes` with `client_id` and `display_name`

**Answer:** `201` with `id` and `address`

**Checked:** Receiving never counts as a send; Free keeps issues 90 days

### 2. Subscribe and confirm

The agent enters the address on each newsletter's sign-up page, then waits for the confirmation email. Double opt-in links come back sorted as `verify`, ready to open.

**Call:** GET `/v1/inboxes/{id}/code?wait=50&from=gridline-weekly.example`

**Answer:** `link` with the confirmation URL, and the sender's `auth.verdict`

**Checked:** A confirmation from a sender that fails DMARC is held and never handed over

### 3. Read what arrived since yesterday

Each morning the agent lists the mail since a date. Each issue comes with `extracted_text`, the words a reader sees, and `links`: confirmation and sign-in links first, unsubscribe and social links marked `other`.

**Call:** GET `/v1/inboxes/{id}/messages?since=2026-11-21T07:00:00Z&limit=100`

**Answer:** `data` oldest first and `held` with the issues kept back

**Checked:** Hidden text that speaks to a model holds the issue as `suspicious`; ordinary preview text never does

### 4. Write and send the digest

The model picks the items that matter and writes a line on each. The agent sends one email to the team, with the source link under every item.

**Call:** POST `/v1/inboxes/{id}/messages` with `to`, `subject` and `text`

**Answer:** `202` with the digest's `id`

**Checked:** Each recipient counts as one send; teammates count once as new recipients

### 5. Prune the lists

A list that turns into promotions gets a receive block rule: its mail is turned away during delivery and never stored again.

**Call:** POST `/v1/inboxes/{id}/rules` with `direction: receive` and `action: block`

**Answer:** `201` with the rule

**Checked:** A domain rule covers its subdomains; 500 rules at most per inbox

Step 3's answer for a morning with one clean issue and one held, cut to the fields the digest reads:

```json
{
  "data": [
    {
      "id": "em_5Wz8Lp3Kd9Hn2Tq1",
      "from": { "address": "issues@gridline-weekly.example", "name": "Gridline Weekly" },
      "subject": "EU grid tariffs, week 47",
      "extracted_text": "Grid tariffs rose in four member states this week. Here is what changed and why.",
      "links": [
        { "url": "https://gridline-weekly.example/w47", "kind": "other" },
        { "url": "https://gridline-weekly.example/unsubscribe?u=1", "kind": "other" }
      ]
    }
  ],
  "order": "oldest_first",
  "next_cursor": null,
  "next_since": "em_5Wz8Lp3Kd9Hn2Tq1",
  "held": { "count": 1, "reasons": { "suspicious": 1, "unauthenticated": 0 }, "show_with": "include=held" }
}
```

## The morning digest in Python and Node.js

Run the program every morning: it reads the last day's issues, writes one item per issue, mentions how many were held, and mails the digest to the team. `summary()` stands for your model; the first sentence of each issue stands in for it here.

Python:

```python
# morning_digest.py: read the last day's newsletters and mail the team one digest. Run it every morning.
# pip install requests
import os
from datetime import datetime, timedelta, timezone

import requests

API = "https://blueping.dev/v1"
TEAM = ["ana@halcyon.example", "luis@halcyon.example"]
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['BLUEPING_API_KEY']}"


def summary(text):
    # Your model writes why the issue matters to your team; its first sentence stands in for it.
    return text.strip().split(". ")[0][:240]


inbox = session.post(f"{API}/inboxes", json={"client_id": "research-digest", "display_name": "Halcyon Research"}).json()
since = (datetime.now(timezone.utc) - timedelta(days=1)).isoformat()
page = session.get(f"{API}/inboxes/{inbox['id']}/messages", params={"since": since, "limit": 100}).json()
items = []
for message in page["data"]:
    if message["direction"] != "in":
        continue
    link = next((link["url"] for link in message["links"] if link["kind"] == "other" and "unsubscribe" not in link["url"]), "")
    sender = message["from"]["name"] or message["from"]["address"]
    items.append(f"{sender}: {message['subject']}\n{summary(message['extracted_text'])}\n{link}".strip())

held = page["held"]["count"]
if items:
    text = "\n\n".join(items)
    if held:
        text += f"\n\nHeld today: {held}. They failed authentication or carried text aimed at a model."
    sent = session.post(
        f"{API}/inboxes/{inbox['id']}/messages",
        json={"to": TEAM, "subject": f"Research digest, {datetime.now(timezone.utc):%d %B}", "text": text},
    ).json()
    print(text)
    print("digest", sent["id"], "to", len(TEAM), "people")
else:
    print("no new issues, held:", held)
```

Node.js:

```javascript
// morning-digest.mjs: read the last day's newsletters and mail the team one digest. Run it every morning.
// Node.js 18 or later, nothing to install.
const API = "https://blueping.dev/v1";
const TEAM = ["ana@halcyon.example", "luis@halcyon.example"];
const headers = { Authorization: `Bearer ${process.env.BLUEPING_API_KEY}`, "Content-Type": "application/json" };
const call = async (method, path, body) => (await fetch(API + path, { method, headers, body: body && JSON.stringify(body) })).json();

// Your model writes why the issue matters to your team; its first sentence stands in for it.
const summary = (text) => text.trim().split(". ")[0].slice(0, 240);

const inbox = await call("POST", "/inboxes", { client_id: "research-digest", display_name: "Halcyon Research" });
const since = new Date(Date.now() - 86_400_000).toISOString();
const page = await call("GET", `/inboxes/${inbox.id}/messages?since=${encodeURIComponent(since)}&limit=100`);
const items = page.data
  .filter((message) => message.direction === "in")
  .map((message) => {
    const link = message.links.find((item) => item.kind === "other" && !item.url.includes("unsubscribe"))?.url ?? "";
    return `${message.from.name ?? message.from.address}: ${message.subject}\n${summary(message.extracted_text)}\n${link}`.trim();
  });

const held = page.held.count;
if (items.length) {
  let text = items.join("\n\n");
  if (held) text += `\n\nHeld today: ${held}. They failed authentication or carried text aimed at a model.`;
  const day = new Date().toLocaleDateString("en-GB", { day: "2-digit", month: "long", timeZone: "UTC" });
  const sent = await call("POST", `/inboxes/${inbox.id}/messages`, { to: TEAM, subject: `Research digest, ${day}`, text });
  console.log(text);
  console.log("digest", sent.id, "to", TEAM.length, "people");
} else {
  console.log("no new issues, held:", held);
}
```

A list shows the start of each issue's text, which is what a summary needs. When the model wants an issue whole, GET `/v1/messages/{id}` returns its full text and HTML.

The digest goes to the same two people every day, so after the first one they never count as new recipients again.

## Subscribe and summarize from an MCP client

A researcher can set the whole thing up from Claude or Cursor with the [MCP server](https://blueping.dev/agents.md) connected: the model subscribes with its browser tool and reads with Blueping's tools.

```text
Subscribe halcyon-research to the newsletters in this list and confirm each subscription from its confirmation email. Then, every morning, read what arrived since yesterday and send me a digest of the ten items that matter most for EU energy policy, each with its source link.
```

| Tool | What it does here |
| --- | --- |
| `create_inbox` | Makes the research address, or finds it by `client_id`. |
| `wait_for_code` | Returns each confirmation link as soon as the email lands. |
| `list_messages` | Reads the issues since a date, with `held` counted. |
| `read_message` | Reads an issue whole when the summary needs more. |
| `send_email` | Sends the digest to you or your team. |
| `add_address_rule` | Blocks a list that turned noisy, with your go-ahead. |

Every issue reaches the model with `untrusted: true`, and the held ones stay out of `list_messages`: only a connection you gave `held:read` lists them, with `include_held`.

## Sort issues by topic as they arrive

A digest is easier to write when the issues are already sorted. Subscribe to `email.received`, check the signature as [Webhooks](https://blueping.dev/docs/webhooks.md#verify) shows, and pass each event to the handler below: it labels every issue with its topic, so the morning run can read one topic at a time with `labels`.

```javascript
// topic-hook.mjs: the part of your webhook server that labels each newsletter issue with its topic.
// Check the Blueping-Signature header before calling handle(): /docs/webhooks#verify has the code.
const API = "https://blueping.dev/v1";
const headers = { Authorization: `Bearer ${process.env.BLUEPING_API_KEY}`, "Content-Type": "application/json" };
const TOPICS = { "gridline-weekly.example": "topic:grid", "harborpolicy.example": "topic:policy" };

export async function handle(event) {
  if (event.type !== "email.received") return;
  const { message } = event.data;
  const label = TOPICS[message.from.address.split("@")[1]] ?? "topic:other";
  await fetch(`${API}/messages/${message.id}`, { method: "PATCH", headers, body: JSON.stringify({ add_labels: [label] }) });
  console.log(label, message.subject);
}
```

With topics on every issue, GET `/v1/inboxes/{id}/messages?labels=topic:grid&since=...` gives the morning run one topic's issues at a time.

## When a newsletter writes for your summarizer

A digest is only as good as what goes into it, and some publishers now write for the AI that reads them.

### Hidden instructions are held

Text hidden with white on white, a zero font size or a hidden block holds the issue as `suspicious` when it tells a model to ignore its instructions, or gives it orders such as sending something to an address. It is stored and counted in `held`, and never appears among the issues the agent summarizes.

### Ordinary preview text passes

Many newsletters hide a preview line for mail apps. Hidden text alone never holds an issue; hidden text that speaks to a model, or hides orders, does.

### Forged publishers

An issue forged in a publisher's name fails the publisher's DMARC policy, and is turned away or held as `unauthenticated`, so a fake issue in a real newsletter's name stays out of the digest.

### The digest goes where you say

A send allow rule for your team's domain means the agent's digest can only reach your team: any other recipient stops the message with `403 recipient_blocked`.

## What 35 newsletters a day need

Thirty-five lists bring about 25 issues a day, 750 a month, at around 100 KB each in HTML. The agent sends one digest a day to two people, 60 sends a month.

**Free fits this setup**: 3 inboxes, 3,000 sends a month and 100 a day, and 3 GB of storage, at no cost. Free adds a one-line footer, Sent with Blueping, to each email it sends; paid plans send without it.

Receiving is never counted, and each recipient of a send counts once. Every limit is on [Limits](https://blueping.dev/docs/limits.md), and every price on [Pricing](https://blueping.dev/pricing.md).

[The API reference](https://blueping.dev/docs/api.md) · [Webhooks](https://blueping.dev/docs/webhooks.md) · [The MCP server](https://blueping.dev/agents.md) · [Blueping vs Inkbox](https://blueping.dev/compare/inkbox.md) · [All use cases](https://blueping.dev/use-cases.md)

Last checked against the API on 27 November 2026.

## Questions about newsletters

What builders ask before they set it up. The docs answer the rest.

[Read the docs](https://blueping.dev/docs.md)

### How does the agent confirm a subscription?

The confirmation email's link comes back as `link` from the code call, sorted as `verify`. The agent opens it with its browser tool, as a person would click it.

### Can it read newsletters that are mostly images?

It reads the words a person sees, from the plain text part or the HTML. Images stay images: an attached one downloads by id for a model that reads them.

### How does it unsubscribe?

Each issue's unsubscribe link is in `links`, marked `other` like the publisher's social links. Or add a receive block rule for the list's domain, which stops its mail before it is stored.

### Can the digest include sources from outside email?

Yes. The digest is the agent's own email: it can add anything your code gathers before it sends.

### How long are issues kept?

On Free, 90 days, then deleted. On a paid plan, until you delete them. Keep the digests themselves in your own tools if you want an archive of your own.

### Does reading an issue open its tracking pixels?

No. The API returns the text and the HTML as they arrived and fetches nothing from the sender: no image loads and no link opens. The agent opens a link only when your code tells it to, such as a confirmation link.

### What about paid newsletters that need a login?

Their sign-in emails reach the same inbox, so the code call returns the magic link like any other sign-in. The paid issues themselves arrive by email the same way as free ones.

### Can several teams share one research inbox?

Yes. Label issues by topic or by team, and send each team its own digest from the same inbox.

## More agents at work

- [Pages Tidewell's on-call once, tidewell-alerts@blueping.dev. Another stream of machine mail, read and turned into action.](https://blueping.dev/use-cases/alert-triage.md)
- [Assists Olderwick's partners, olderwick-assistant@blueping.dev. A person's own reading, forwarded with a note and summarized.](https://blueping.dev/use-cases/executive-assistant.md)
- [Answers the planner's tasks, research-worker@blueping.dev. A research agent that hands its findings to a writer agent by email.](https://blueping.dev/use-cases/multi-agent-email.md)
