MOLTED EMAIL

Autonomy Levels

Control how much human oversight is required before outbound emails are sent from each mailbox.

Autonomy levels let you control how much human approval is required before an agent can send email from a mailbox. This is a per-mailbox setting that governs the balance between speed and oversight.

Levels

There are three levels; any other value is refused with a 400.

LevelNameBehavior
L1AssistedEvery outbound send requires explicit human approval before delivery.
L2Guarded AutoFirst message to a new recipient requires approval. Once you've actually sent that recipient a message (or received one from them), later messages send automatically.
L3Fully AutonomousAll policy-approved sends execute automatically. Only hard policy blocks (and the holds below) stop a send.

The default autonomy level for new mailboxes is L3 (Fully Autonomous). A mailbox with no readable level is treated as L3 too.

How it works

When an agent sends an email, the autonomy level is evaluated after policy checks but before the email is queued for delivery:

  1. The send request passes through the policy engine (duplicate detection, rate limits, suppressions, etc.)
  2. If the policy allows the send, the mailbox's autonomy level is checked
  3. Based on the level, the send is either queued immediately or routed to the approval queue, and the response is status: "pending_approval" with reason: "autonomy_level"

The level that applies is the sending mailbox's. A send that names no mailbox goes out from, and is gated by, your default mailbox (for a key scoped to some mailboxes: the oldest mailbox it can send from).

The same gate applies to journey send steps and scheduled follow-ups, not only direct API sends: they are held for approval the same way. A journey step with no mailbox configured is gated by your default mailbox. While your account or the mailbox is paused, journey steps and scheduled follow-ups wait and are retried every 15 minutes; after 72 hours paused they are dropped (the journey run fails with paused_timeout).

A send a person wrote or approved (a portal reply, a send made after taking over a thread, or a held send a person approves) is not held again. A reply a person writes in the portal is also never rewritten by the humanizer, and sending it takes the conversation over: your agent cannot send to that contact from that mailbox until the person hands it back (see Threads).

L1 - Assisted

All sends are held for human approval regardless of prior contact history. This is the most conservative setting, ideal for high-stakes mailboxes or early-stage agent deployments where you want full visibility.

L2 - Guarded Auto

The system checks whether this mailbox has ever actually delivered a message to the recipient (the provider accepted it), or received one from them; the address match ignores case. If neither has happened yet, it requires approval. A held or policy-blocked draft to a new recipient does not count as contact by itself -- only a message that actually went out (or one they sent in) does, so a still-unreviewed draft can't be resent under another template, as a reply, or after a rejection to slip past the hold.

This balances safety with throughput -- agents can continue existing conversations freely, but new outreach is supervised.

L3 - Fully Autonomous

No autonomy-based approval is required. Sends execute as long as they pass policy checks. This is the right choice for production mailboxes with well-tested agents and established sending patterns.

Holds that apply at every level

Two more holds can put a send in the approval queue whatever the mailbox's level. The autonomy level is checked first, so a send it already holds reports autonomy_level.

reasonWhen
quarantined_attachmentThe send carries an attachment from a quarantined message. Held whatever the autonomy level, and only a person can approve it (an agent key's approval is refused in every human-gate mode; but in off, and warn with no deadline, an agent can still release the underlying safety quarantine first, so use enforce to close that).
thread_risk_flaggedA reply (a send with a threadId, or a follow-up) on a thread where, in the last 7 days, a classified inbound message was quarantined or rejected (by the safety classifier or by a person), or was rated high for prompt injection. Every classified inbound message in the thread from the last 7 days counts, however it was matched to the thread, including the message that started it and a reply to one of your own sends. The hold stays for the rest of those 7 days even after a person releases the message. Only that thread is affected.
content_checkThe outbound content check flagged the email (phishing-like requests, someone else's data, deceptive claims, spam). Holds only while content-check holds are switched on, which they are not by default; a simulation shows what it would say.

Setting the autonomy level

Via the API

Get current level
curl "https://mailbox.molted.email/v1/agent/mailboxes/MAILBOX_ID/autonomy" \
  -H "Authorization: Bearer YOUR_API_KEY"
Response
{
  "autonomyLevel": 2,
  "description": "First-contact approval -- only first message to a new recipient requires approval"
}
Update level
curl -X PATCH "https://mailbox.molted.email/v1/agent/mailboxes/MAILBOX_ID/autonomy" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "autonomyLevel": 1 }'

Both need a key with manage on the mailbox. The update answers with the same { autonomyLevel, description } shape; anything but 1, 2 or 3 is 400 (autonomyLevel must be 1, 2, or 3).

You can also set the autonomy level when updating a mailbox via PATCH /v1/agent/mailboxes/:id (an admin-scoped key):

Update via mailbox endpoint
curl -X PATCH "https://mailbox.molted.email/v1/agent/mailboxes/MAILBOX_ID" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "autonomyLevel": 2 }'

An agent key may lower a mailbox's autonomy at any time. Raising it (1 to 2, 2 to 3) gives the agent more freedom, so it is a human decision: the API answers 403 human_decision_required with a decisionUrl (kind: "autonomy") for a person to make the change in the portal. See Loosening a control. Every change is recorded on the mailbox's timeline.

Via the CLI

View current level
molted mailboxes autonomy MAILBOX_ID
Set level
molted mailboxes autonomy set MAILBOX_ID --level 2

The --level flag is required. Valid values are 1, 2, or 3.

FlagTypeRequiredDescription
--levelintegerYesAutonomy level: 1 (assisted), 2 (guarded auto), or 3 (fully autonomous).

Command structure note: autonomy is a parent command with a set subcommand. To view the current level, pass the mailbox ID directly: molted mailboxes autonomy MAILBOX_ID. To set the level, use the set subcommand: molted mailboxes autonomy set MAILBOX_ID --level <n>. You only provide the mailbox ID once in each case.

Via MCP

list_mailboxes returns each mailbox's autonomyLevel. There is no MCP tool to change it; use the CLI or API (or, to raise it, hand a person the decisionUrl).

Via the Portal

Open the mailbox's page (press ⌘K and type its name, or pick it in Settings) and choose its approval rule: Asks every time (level 1), Asks for new contacts (level 2) or Sends freely (level 3). Loosening the rule is a person's decision; an agent can only tighten it. Supervising your agents covers the rest of what a person sees, including the cards that held sends become.

Approval flow

When a send is held for approval due to the mailbox's autonomy level, it appears in the approval queue. Approvals can be managed via:

  • The portal's Home page, where each held send waits as a decision card (Approve or Reject; sends held together become one card with a review page), see Held sends in the portal
  • The Approval Queues API - inspect queue counts and held messages, escalate, and hand a person the decision link (approving, rejecting, editing and releasing are a person's decisions)

Pending approvals expire after 24 hours (a fixed window, not a setting). Expired sends are not delivered.

Choosing the right level

ScenarioRecommended Level
New agent deployment, testing behaviorL1
Production agent doing outbound prospectingL2
Production agent sending transactional emailL3
High-stakes communications (legal, finance)L1
Agent replying to inbound support emailsL2 or L3