Koskamo

Send an email via JMAP

The agent successfully sends an email on behalf of the user, filing a copy in the Sent mailbox and clearing any draft status.

How it works

Changes data in your accountsCustomer support

The agent authenticates with the Atomic Mail server to obtain a capability JWT. It discovers the account ID and JMAP API URL, then queries for the Sent mailbox ID (falling back to the inbox if necessary). It then constructs a JMAP batch request to submit the email, ensuring the sender's copy is filed in the Sent mailbox and the $draft flag is cleared upon success. The agent should confirm the email content and recipient before execution.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Send an email via JMAP
Send an email to support@example.com with the subject 'Test' and body 'Hello'.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Send an email with a JMAP batch. This example assumes you already have capabilityJwt (from the auth flow). It discovers apiUrl and accountId from GET /.well-known/jmap (RFC 8620), then resolves the Sent mailbox id with Mailbox/query (falling back to the inbox on accounts without a Sent mailbox)…
Code examples | Atomic Mail Docs

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.