Back to Blog

How to Give an OpenClaw Agent Its Own Email Address

To give an OpenClaw agent an email address, run npx clawhub@latest install openmail in your terminal. OpenClaw walks you through authentication and inbox creation — the full setup takes about 2 minutes.

Armandas Vaičikauskas

March 29, 2026

WebSocket Bridge, Inbox Provisioning, Agentic Workflows, Real-Time Email Delivery, SPF DKIM DMARC

OpenClaw can browse the web, run code, and call APIs. It can't receive a vendor reply or confirm an account - not without an email address. Here's how you fix that.

TL;DR

  • -OpenMail: dedicated inboxes for AI agents, structured JSON events, real-time delivery.
  • -One command installs the skill via ClawHub: npx clawhub@latest install openmail.
  • -Three modes: tool (on demand), notify (alerts you), channel (replies autonomously).
  • -SPF, DKIM, DMARC, and reputation are fully managed.

What agents actually need from email

Not much. A real address. Inbound events as structured data. Thread history as JSON, not formatted HTML.

Most email services are optimized for humans reading at a screen. That's the wrong fit for an agent. OpenMail delivers inbound email as a structured JSON event - sender, subject, parsed body, attachments already extracted - forwarded in real time. No polling. No raw MIME. No SMTP server to run.

Install via ClawHub

OpenMail is an OpenClaw skill on ClawHub - the registry where skills are published, security-scanned, and installed. One command installs the skill and the CLI:

npx clawhub@latest install openmail

OpenClaw picks up the skill immediately and walks you through the rest - authenticating with OpenMail, creating your inbox, and starting the real-time email bridge. The full setup guide is at docs.openmail.sh/quickstart.

During setup, you choose a usage mode:

Tool

The agent sends and reads email when you ask. No background activity. Good for agents that send email as part of a task and check for replies on demand.

Notify

The agent alerts you the moment new email arrives. You decide what to do. Good when you want awareness without automation.

Channel

The agent reads incoming email and replies autonomously, without you in the loop. You define which senders it can respond to. Good for support inboxes or anything where speed matters more than review.

Change modes at any time with openmail setup --reconfigure.

What it actually enables

The technical side is just plumbing. What matters is what the agent can now actually do in the world.

Close loops that start in someone's inbox

The agent sends an email - a quote request, a meeting confirmation, a follow-up - and when the reply arrives, it acts on it. No polling. No human in the middle. The whole thread stays in the agent's inbox, not yours.

Sign up, verify, and confirm - unattended

The agent registers for a service using its own address, receives the verification email, extracts the confirmation link, and clicks it. The full account-creation flow, without you touching it.

Handle a conversation, not just a message

It can read the full thread history in order, reply in context, and keep a back-and-forth going across days. Not just fire-and-forget - actual correspondence.

Run multiple identities

Need a support address, a billing address, a project-specific mailbox? The agent provisions them on demand via the API. Live immediately. No DNS changes.

One command, one live inbox

One command installs the skill. OpenClaw handles the rest - inbox provisioning, real-time mail delivery, everything. Deliverability, authentication, and storage are handled.

You can start for free. No credit card required.

Frequently asked questions

How do I give an OpenClaw agent an email?

Install the OpenMail skill via ClawHub by running npx clawhub@latest install openmail. OpenClaw then guides you through connecting your OpenMail account and creating a dedicated inbox. No DNS changes or SMTP configuration required.

What is OpenMail?

Email infrastructure built for AI agents. Dedicated inboxes on your domain, real-time WebSocket delivery as structured JSON, and a fully managed deliverability stack - SPF, DKIM, DMARC - with no SMTP server to configure.

What is OpenClaw?

An AI agent that can browse the web, run code, and call APIs. It supports skills - modular capabilities installed via ClawHub. The OpenMail skill gives it full email send and receive.

How long does it take to set up OpenMail for OpenClaw?

About 2 minutes. Run npx clawhub@latest install openmail, then follow the OpenClaw-guided setup for authentication and inbox creation.

Does setup require DNS changes?

No. OpenMail manages all DNS records, SPF, DKIM, DMARC, and sending reputation. You only need to run the CLI.

How fast does inbound email arrive at OpenClaw?

Under 500ms. The WebSocket bridge - started automatically by openmail setup - forwards each message.received event to OpenClaw in real time.

Can the agent manage multiple email addresses?

Yes. Call POST /v1/inboxes directly. New addresses are live immediately. No DNS changes, no manual configuration.

Every AI agent deserves its own inbox.

Install the CLI, run setup, and you're sending email from your agent in minutes.