Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: Built-in services

Built-in services · rule

email.sent_context

Reads email.sent outside a test.

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

email.sent is what a test sent, caught in place of sending it, so only a test reads it; outside a test an email goes out once its action commits, and nothing keeps it to read:

example
/// Stops early once an email has gone out.action stop_after_sending() -> Unit {    if (list.count(email.sent) > 0) {        return    }}
text
error: `email.sent` is read outside a test --> domains/accounts/actions/stop_after_sending.jadpo:3:20  |3 |     if (list.count(email.sent) > 0) {  |                    ^^^^^^^^^^ not in a test  reason: `email.sent` lists the emails a test sent, which `jadpo test` catches in place of sending them; outside a test an email goes out once its action commits, and nothing keeps it to read.  next: Read `email.sent` in a test, after the action that sends the email (agent)  rule: email.sent_context  help: https://jadpo.dev/docs/errors/email.sent_contextcheck failed: 1 error, 2 files

Markdown for agents: /docs/errors/email.sent_context.md.Built from Jadpo main at a707efb.