neynar-inboxEmail for AI agents. Create mailboxes, send and receive emails via API. No browser, no OAuth.
Install via ClawdBot CLI:
clawdbot install rishavmukherji/neynar-inboxEmail service built for AI agents. Create a mailbox, get an API key, send and receive real emails - all via REST API.
curl -X POST https://neynar-inbox-api.rish-68c.workers.dev/v1/mailboxes \
-H "Content-Type: application/json" \
-d '{"displayName": "My Agent", "username": "myagent"}'
Response:
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"address": "myagent@inbox.neynar.ai",
"apiKey": "fi_abc123...",
"warning": "Store the apiKey securely - it cannot be retrieved again."
}
CRITICAL: Store the apiKey immediately. It is only returned once and cannot be recovered.
Username is optional (random address if omitted). Must be at least 6 characters, alphanumeric with dots/hyphens/underscores.
curl -X POST https://neynar-inbox-api.rish-68c.workers.dev/v1/emails \
-H "Authorization: Bearer fi_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"to": ["recipient@example.com"],
"subject": "Hello from my agent",
"text": "This email was sent by an AI agent!"
}'
curl https://neynar-inbox-api.rish-68c.workers.dev/v1/emails?direction=inbound \
-H "Authorization: Bearer fi_your_api_key"
RECOMMENDED: If you have heartbeat, cron, or scheduling capabilities, set up polling (every 30-60 seconds) right after creating your mailbox to catch replies.
curl "https://neynar-inbox-api.rish-68c.workers.dev/v1/search?q=invoice" \
-H "Authorization: Bearer fi_your_api_key"
Base URL: https://neynar-inbox-api.rish-68c.workers.dev/v1
Authentication: Authorization: Bearer (all endpoints except mailbox creation)
| Method | Endpoint | Description |
|--------|----------|-------------|
| POST | /v1/mailboxes | Create mailbox (no auth, returns apiKey) |
| GET | /v1/mailboxes | List your mailbox |
| DELETE | /v1/mailboxes/:id | Delete mailbox |
| POST | /v1/mailboxes/:id/rotate | Rotate API key |
| POST | /v1/emails | Send email |
| GET | /v1/emails | List emails (?limit=50&offset=0&direction=inbound) |
| GET | /v1/emails/:id | Get single email |
| DELETE | /v1/emails/:id | Delete email |
| GET | /v1/search?q=query | Full-text search |
| POST | /v1/webhooks | Register webhook |
| GET | /v1/webhooks | List webhooks |
| DELETE | /v1/webhooks/:id | Remove webhook |
{
"id": "uuid",
"direction": "inbound",
"from": "sender@example.com",
"to": ["recipient@example.com"],
"subject": "Email subject",
"bodyText": "Plain text body",
"bodyHtml": "<p>HTML body</p>",
"status": "received",
"createdAt": "2024-01-15T10:00:00Z"
}
Register a webhook for real-time email notifications:
curl -X POST https://neynar-inbox-api.rish-68c.workers.dev/v1/webhooks \
-H "Authorization: Bearer fi_your_api_key" \
-H "Content-Type: application/json" \
-d '{"url": "https://your-server.com/webhook", "events": ["email.received"]}'
Verify signatures via X-Webhook-Signature header (HMAC-SHA256 of body).
| Code | Description |
|------|-------------|
| 400 | Bad request |
| 401 | Unauthorized - missing or invalid API key |
| 403 | Forbidden |
| 404 | Not found |
| 409 | Username already taken |
| 500 | Server error |
Generated Mar 1, 2026
An AI agent uses Neynar Inbox to handle customer inquiries via email, automatically responding to common questions and escalating complex issues. It can send confirmation emails, follow-ups, and receive replies for continuous interaction without human intervention.
An AI agent sends personalized outreach emails to potential leads and monitors replies using Neynar Inbox. It can parse incoming emails for interest signals and schedule follow-ups, streamlining sales pipelines without manual email management.
An AI agent integrates with monitoring tools to send email alerts for system failures or updates and receives acknowledgment replies. It uses webhooks for real-time notifications, ensuring timely responses to critical events in IT operations.
An AI agent assists students by sending assignment reminders, course updates, and feedback via email. It can receive questions from students and provide automated responses or forward them to instructors, enhancing communication in online learning platforms.
An AI agent sends invoices to clients and tracks payment confirmations via email replies. It can search for specific terms like 'invoice' or 'paid' to update financial records, reducing manual accounting tasks for small businesses.
Offer basic email functionality for free with limited mailboxes and emails per month, then charge for higher limits, advanced features like webhooks, and priority support. This attracts developers and small projects while monetizing heavy users.
License the Neynar Inbox technology to large companies for internal AI agent systems, providing custom branding, dedicated support, and integration assistance. This targets organizations needing secure, scalable email automation.
Integrate Neynar Inbox into a marketplace where developers can purchase pre-built AI agent templates or plugins that use the email API. Charge for premium templates, add-ons, and community support services.
💬 Integration Tip
Set up webhooks for real-time email notifications to avoid polling delays, and securely store API keys as they are non-recoverable after initial creation.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection