In n8n, attach an MCP Client Tool node to your AI Agent node, set its endpoint to https://agentline.nz/mcp and its authentication to Bearer with your Agentline NZ API key. The AI Agent can then send and read email from its own @agentline.nz inbox and wait for one-time codes sent by email inside your workflows.
Before you start
- An Agentline NZ API key from Dashboard → API keys. 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.
- A workflow with an AI Agent node.
Steps
- Add the MCP Client Tool. On your AI Agent node, add a tool and choose MCP Client Tool.
- Set the endpoint. Enter https://agentline.nz/mcp as the endpoint. If the node shows a transport option, choose the HTTP Streamable option.
- Add your key. Set Authentication to Bearer and create a Bearer credential with your Agentline NZ API key. Header Auth with the name Authorization and the value Bearer followed by your key also works.
- Choose tools. Under Tools to Include, pick All, or Selected to limit the agent to, for example, list_emails and wait_for_code.
- Test the workflow. Run the workflow with a chat message such as: What's my Agentline NZ email address?
Using a tool as a normal workflow step
n8n's newer MCP Client node runs one MCP tool as an ordinary step without an AI Agent, which is useful for fixed flows like "send this confirmation email". Set MCP Endpoint URL to https://agentline.nz/mcp, pick your credential under Authentication and choose the Tool, for example send_email.
Good to know
- Use Selected under Tools to Include to keep read-only workflows from sending. wait_for_code doesn't send anything, but it consumes each code it returns, so it isn't strictly read-only.
- 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.
Related
- Connect LangChain and LangGraph agents to their own email inbox
- Connect CrewAI agents to their own email inbox
- Connect a Zapier workflow to an agent email inbox
- Connect a Make scenario to an agent email inbox
- How do I create an Agentline NZ API key?
Start free · No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.