Koskamo

Read latest emails from inbox

The agent retrieves the 20 most recent emails from the user's inbox, including subject, sender, and preview text, allowing for quick review of incoming messages.

How it works

Read-onlyCustomer support

The agent first authenticates with the Atomic Mail server by solving a proof-of-work challenge and obtaining a capability JWT. It then discovers the account ID and JMAP API URL. Next, it queries for the inbox mailbox ID. Finally, it executes an Email/query to find the latest messages and Email/get to retrieve their details (subject, from, receivedAt, preview). The agent should verify that the inbox is not empty before presenting the results.

Prompt

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

Prompt for Read latest emails from inbox
Please read the latest 20 emails from my inbox and list their subjects and senders.

MCP servers it needs

Source

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

This script demonstrates challenge solving and token acquisition, then reads the latest messages from the inbox.
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.