Skip to content
Directory
GitHub Star
Evidence, tags & source code

The Daily Brief Is Ready. Why Not Just Send the Email Again? ​

At 9:05 the morning brief opens on the site, but your inbox is empty. “Try again” sounds reasonable. Try what again: commission a new piece of research, or read the one that just finished? If you can already open the original, use it. The missing thing to investigate is a particular email, not the research.

Two failures that look identical to the sender ​

Imagine calling a parcel desk to ask whether it has taken your package. The line goes dead. Perhaps nobody heard the question. Perhaps the clerk said “yes” just as the connection dropped. Your call history cannot distinguish those cases.

Email has a similar gap. The sender hands over the message body. The relay may accept it, but the final acknowledgement never comes back. If the sender treats silence as proof of failure, a second submission may put two copies in the reader’s inbox. Marking it “delivered” would also be a guess. Unknown is not a polite word for failed. It means the sender cannot tell the two outcomes apart.

What the sender can establish for this briefWhat that does not establishHow to serve the reader
The report exists; email was off for this occurrenceThe mail system is brokenOpen the saved report; opt in for future runs if wanted
The relay acknowledged acceptanceIt landed in the primary inbox or was readCheck inbox categories and spam; keep the original accessible
The acknowledgement was lost after submissionNothing was sent, or another send is safeLink the same report, retain the unknown status and do not replay automatically

The phrase this brief matters. Today’s 9 a.m. brief is not tonight’s 8 p.m. brief. Tomorrow morning is not a retry of today. Prevent a duplicate attempt for the same slot; don’t suppress the next legitimate report.

Which brief belongs in the email? ​

Suppose the saved brief compares this quarter with the same quarter last year. Ask the model to “write a shorter email version” and it might call the change quarter-on-quarter. Every number can survive intact while the comparison becomes false. Readers thought they were looking at two formats. They got two different claims.

Open ETF Agent’s documentation at v1.0.10 distinguishes link digests from full-text delivery. Not every message includes the full report by default. When full-report delivery is selected for each watch, the plain-text part carries that occurrence’s Markdown body; the HTML part formats the same material for mail, including headings and lists. The goal is the same research, not a pixel-for-pixel copy of the webpage.

That suggests a short diagnostic sequence: identify the date and slot, reopen its report, then check its mail record. Receiving the evening brief is no evidence that the morning one arrived. Generating a substitute is no proof that the original survived.

Exercise: disconnect after the relay receives the body ​

In the test pinned to v1.0.10, the mail server runs locally. It can accept the message body and then drop the connection. The test can count how many messages it actually received, a view a real sender normally does not have.

In a checkout of v1.0.10, use Node 26 (26.8.1 or later within that major release), OpenSSL and Python 3 at /usr/bin/python3. Python is used to read the two parts of the captured messages. If dependencies are already installed, skip the first command:

sh
npm ci
node --test --test-name-pattern='two native Watch slots' test/scheduled-smtp-daily.test.mjs

No real recipient, SMTP password or paid model is needed. Follow just three observations:

  1. On a normal day, the morning and evening slots submit one email each. Checking each slot twice concurrently does not turn two emails into four.
  2. The test opens both messages. The plain text matches the corresponding report. The HTML retains its heading and list. The two slots have different message IDs.
  3. For the following morning, the test server receives a third email and drops the acknowledgement. The app records “unknown.” Restart and check again: the server still has three messages, not four.

This does not promise that every real email arrives. It proves something smaller and more useful: when delivery is uncertain, the reader still has the original and the system does not send a duplicate just to make the uncertainty go away.

Further reading: How to prove the report itself was delivered and what belongs in the report when a source won’t open.

Engineering notes, evidence and boundaries. · Contact: hpoenixf@foxmail.com · WeChat: hpoenixf0510