# Email Inbox for n8n | Revdoku

> Give your n8n agent an inbox for incoming email and attachments. Turn the messages you receive into tasks in your existing workflows.

Email for n8n

Give your n8n agent its own email address!

Give your n8n agent an inbox for incoming email and attachments. Turn the messages you receive into tasks in your existing workflows.

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

Process invoices
Read emailed invoices and use an n8n workflow to prepare rows for your expense sheet.

Sort incoming requests
Ask your n8n agent to group requests by topic before passing them to the next workflow step.

Collect documents
Give each project an address and use a workflow to process the files it receives.

Connect n8n

Add an HTTP Request node to your n8n workflow or AI Agent. Configure it to read messages through the Revdoku API. Store the API credential in n8n, then test with one email before connecting the next step.

Revdoku API guide · n8n documentation · All AI apps

---

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