Koskamo

Extract verification codes from email

The agent retrieves specific verification codes sent via email, enabling automated sign-in or two-factor authentication processes without manual intervention.

How it works

Read-onlyOperations and infrastructure

The agent monitors the inbox for incoming messages, specifically looking for verification codes. It uses the list_messages tool to find recent emails and get_message to read their content. The agent then extracts the code from the email body. This is often used in conjunction with creating a temporary inbox for one-time use cases. The agent should check for the presence of the code before proceeding with any authentication steps.

Prompt

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

Prompt for Extract verification codes from email
Create a temporary inbox and wait for a verification code email. Once received, extract the code from the message body and return it. Ensure the inbox is used only for this specific verification task.

MCP servers it needs

Source

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

create_temporary_inbox { ttl_seconds? } (default 900) creates a receive-only inbox on tmp.agentboxd.com and returns its address, id and expires_at . Follow it with get_verification_code .
MCP email server for AI agents · Agentboxd

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.