Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 3 Dec 2026. What's built · Install 0.7.0
jadpo
ReferenceErrors

ErrorsBuilt-in services · rule

email.unsubscribe_missing

On this page

A bulk email's template doesn't write its unsubscribe link.

Area 16, Built-in services; not declinable; the next step is usually the agent's.

Why Jadpo refuses it

Bulk mail carries a one-click unsubscribe in its headers, which Jadpo adds for you, and Gmail and Yahoo also ask bulk senders to show a way out in the message itself. A reader who can't find one marks the mail as spam, and enough of those send every mail from your domain to spam. Each part of a bulk email, its HTML and its text, writes {{ unsubscribe_link }}, which Jadpo fills with a link to your frontend's unsubscribe page.

What it looks like

NewsIssue is bulk mail, and its text doesn't link to the unsubscribe.

domains/notes/emails/news_issue.txt:

example
{{ headline }}

domains/notes/emails/news_issue.jadpo:

news_issue.jadpo
/// This month's news, sent to every member who asked for it.type NewsIssue = BulkEmailMessage {    headline: Text}
jadpo checkcheck failed: 1 error, 6 files

error NewsIssue's news_issue.txt has no unsubscribe link

--> domains/notes/emails/news_issue.jadpo:2:6

  |2 | type NewsIssue = BulkEmailMessage {  |      ^^^^^^^^^ nothing in news_issue.txt to unsubscribe with
reason
NewsIssue is bulk mail, so every part of it shows its reader a way to stop it, beside the one-click unsubscribe in its headers: mail providers ask bulk senders for both, and a reader who can't find one marks the mail as spam.
next
Write Unsubscribe: {{ unsubscribe_link }} in news_issue.txt (agent)
rule
email.unsubscribe_missing
help
https://jadpo.dev/docs/errors/email.unsubscribe_missing

(agent) at the end of the next: line means your coding agent can make the fix itself.

How to fix it

If it is bulk mail, write the link in the template, where your reader will look for it, at the foot of the message. In domains/notes/emails/news_issue.txt:

example
{{ headline }}Unsubscribe: {{ unsubscribe_link }}

The text part now shows its reader the way out, as the HTML does.

A mail a person needs whether or not they want newsletters, such as a receipt, isn't bulk mail: declare it on EmailMessage, and it goes through email:'s connection with no unsubscribe.

Markdown for agents: /docs/errors/email.unsubscribe_missing.md.Built from Jadpo's main branch at commit dfbeede.