# Email Inbox for Pi Coding Agent | Revdoku

> Give the Pi coding agent an inbox it can read from the terminal. Keep project messages, attachments, and test account emails with the task.

Email for Pi

Give Pi its own email address!

Give the Pi coding agent an inbox it can read from the terminal. Keep project messages, attachments, and test account emails with the task.

Create your AI agent’s inbox

Connect AI…

Copy this setup prompt and paste it into ChatGPT, Claude or another AI app. It walks you through signup and connecting.

Copy setup prompt

Connect Revdoku so you can create and manage email mailboxes for my AI agents, read emails and attachments, and store files. Follow https://revdoku.com/llms-install.md to set up access.

Developer options
Skill MCP cURL TS/JS Python

npx skills add revdoku/revdoku --skill revdoku -g

For Claude Code, Codex, Cursor and other coding agents.

https://mcp.revdoku.com

Add as a custom connector in Claude, ChatGPT or Cursor. Steps

curl https://api.revdoku.com/v1/mailboxes \
-H "Authorization: Bearer $REVDOKU_API_KEY" \
-H "Content-Type: application/json" \
-d '{"mailbox": {"email": {
"username": "acme-orders",
"domain": "revdokumail.com"}}}'

Creates a mailbox with your API key. API reference

const key = process.env.REVDOKU_API_KEY;
const url = "https://api.revdoku.com/v1/mailboxes";
const res = await fetch(url, {
method: "POST",
headers: {
Authorization: `Bearer ${key}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ mailbox: { email: {
username: "acme-orders",
domain: "revdokumail.com",
} } }),
});
console.log(await res.json());

Creates a mailbox with your API key. API reference

import os, requests
key = os.environ["REVDOKU_API_KEY"]
res = requests.post(
"https://api.revdoku.com/v1/mailboxes",
headers={"Authorization": f"Bearer {key}"},
json={"mailbox": {"email": {
"username": "acme-orders",
"domain": "revdokumail.com",
}}},
timeout=30,
)
print(res.json())

Creates a mailbox with your API key. API reference

How it works

1 A new email arrives
Someone emails your agent’s address. Revdoku tells your agent right away.

2 Your agent opens it
It reads the email and its attachments when it needs them.

3 Every read is logged
The audit log shows each email and file your agent opened, and why.

4 Your agent gets the data
It uses what it found and can reply to the sender.

AI agent New email Reading… Got the data

myagent@ revdokumail.com

team@acme.studio New
Project brief
brief.pdf

noreply@github.com
Your sign-in code

Audit log

Read email ✓
Reason: find the project brief

Read file brief.pdf ✓
Reason: check the requirements

Use your inbox to

Work from emailed briefs
Forward a client brief and ask Pi to turn it into a clear development plan.

Process attachments
Let Pi use the Revdoku CLI to get an attachment and process it with local tools.

Read test account emails
Give Pi a separate address for the website accounts you use in tests.

Connect Pi

Install the complete Revdoku skill in a skill directory Pi reads, such as ~/.agents/skills/. Start a new Pi session and sign in to Revdoku in your browser. Ask Pi to use the bundled CLI to read your inbox.

Revdoku skill and CLI · Pi documentation · All AI apps

---

[View the canonical page](https://revdoku.com/pi/) · [Browse llms.txt](https://revdoku.com/llms.txt)
