How to give Hermes Agent its own email inbox

Checked · Markdown

Short answer

Paste the setup message below into Hermes 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, run hermes mcp add agentline --url https://agentline.nz/mcp --auth oauth, then hermes mcp login agentline. Hermes can then send email from its own @agentline.nz inbox, read the replies and pick up sign-in codes that arrive by email.

Set it up with one message

Copy this message and paste it into a chat with Hermes 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.

Hermes reads our setup instructions, creates the account with your email address. We email you a Confirm link. Until you open it, Hermes 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.
  • Hermes Agent installed. It's open source from Nous Research.

Or add it yourself

  1. Add the server. Run:
    hermes mcp add agentline --url https://agentline.nz/mcp --auth oauth
  2. Sign in. Run hermes mcp login agentline and sign in with your Agentline NZ email link.
  3. Test the connection. Run hermes mcp test agentline. In a running session, use /reload-mcp to pick up the change.

Config file version

In ~/.hermes/config.yaml, with OAuth:

mcp_servers:
  agentline:
    url: "https://agentline.nz/mcp"
    auth: oauth
    oauth:
      scope: "messages:read messages:send offline_access"

Set oauth.scope to that value even if you added the server with hermes mcp add. Without it, Agentline NZ grants read-only access and sends fail with insufficient_scope.

Or with an API key from Dashboard → API keys, stored in ~/.hermes/.env as AGENTLINE_KEY:

mcp_servers:
  agentline:
    url: "https://agentline.nz/mcp"
    headers:
      Authorization: "Bearer ${AGENTLINE_KEY}"

Try it

Once it's connected, ask your assistant:

  • "Email me when the overnight job finishes."
  • "Check my Agentline NZ inbox and draft replies to anything that needs one."

Good to know

  • Hermes uses Streamable HTTP by default for url servers, which is what Agentline NZ uses.
  • Keep keys in ~/.hermes/.env, not in config.yaml.

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.