How to give OpenClaw its own email inbox

Checked · Markdown

Short answer

Paste the setup message below into your OpenClaw agent and it signs itself up to Agentline NZ and asks you to open the confirmation email we send you. To do it yourself instead, go to Settings → MCP → Add server in the Control UI, name it agentline, pick Streamable HTTP and enter https://agentline.nz/mcp. Your agent can then send email, handle replies and pick up emailed sign-in codes from its own @agentline.nz inbox.

Set it up with one message

Copy this message and paste it into a chat with your OpenClaw agent:

Read https://agentline.nz/agent-instructions.txt and set yourself up with Agentline NZ, so you have your own @agentline.nz email inbox. Ask me for my email address if you need it.

Your agent reads our setup instructions, creates the account with your email address. We email you a Confirm link. Until you open it, your agent can only check its own account. It can't message anyone, except you (up to 5 a day) if you've already signed in. Until you're on a paid plan, your agent can only email your own verified email address. If you already have an account, it asks you for an API key instead.

Texting is coming soon. Join the texting waitlist and we'll email you when it's ready.

Before you start

  • For the steps below, an Agentline NZ account. No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.
  • Your @agentline.nz email inbox works straight away. Texting and phone numbers are coming soon.
  • OpenClaw running. It's open source and self-hosted.

Or add it yourself

  1. Open MCP settings. Open the Control UI and go to Settings → MCP. Under Configured servers, select Add server. You can also use + → Connectors → Add MCP server in a chat.
  2. Add Agentline NZ. Name it agentline, pick Streamable HTTP as the transport and enter https://agentline.nz/mcp. Choose OAuth sign-in. If the screen offers a scope field, enter messages:read messages:send offline_access; otherwise add the server with the CLI command below instead.
  3. Sign in. Sign in with your Agentline NZ email link. OpenClaw's docs say browser sign-in from Settings needs the Gateway's own HTTPS, loopback or published Tailscale address; otherwise run openclaw mcp login agentline.
  4. Check it. Run openclaw mcp doctor agentline --probe, then ask your agent: What's my Agentline NZ email address?

CLI version

Stop the local Gateway first; OpenClaw's docs say CLI changes to saved servers need it stopped.

openclaw mcp add agentline --url https://agentline.nz/mcp --transport streamable-http --auth oauth --oauth-scope "messages:read messages:send offline_access"
openclaw mcp login agentline
openclaw mcp doctor agentline --probe

To use an API key instead of OAuth, see Connect OpenClaw to Agentline NZ with an API key.

Try it

Once it's connected, ask your assistant:

  • "Email me when my parcel tracking email arrives."
  • "Reply to any emails about the flat viewing with the available times, and tell me who replied."

Good to know

  • OpenClaw's openclaw mcp commands don't read mcporter's config/mcporter.json. Add Agentline NZ to OpenClaw's own MCP settings.
  • An always-on agent can send a lot of messages. Transactional and assistant messages only: replies, bookings, confirmations, reminders people asked for, and codes.

FAQ

What does Agentline NZ cost?

Starter is NZ$29/month and Pro is NZ$79/month, billed in NZ dollars. No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days. You can cancel anytime, and your plan stops at the end of the billing period you've paid for. Refunds follow section 5 of our Terms: fees already paid aren't refunded, except where the Terms or the law say so. Agentline NZ is not GST-registered, so no GST is charged.

When does the inbox work, and can my assistant send texts yet?

Your @agentline.nz email inbox works straight away. Texting and phone numbers are coming soon. To hear when texting is ready, join the waitlist.

Can my assistant send marketing or bulk email?

No. Transactional and assistant messages only: replies, bookings, confirmations, reminders people asked for, and codes. Marketing, promotions, cold messages and bulk messages aren't allowed. See What we don't allow.

Start free · No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.