Your AI agent can sign up to websites and services with its own @agentline.nz email address, which works from day one. When the service emails a verification code, the agent calls wait_for_code to collect it, so the agent's accounts, mail and codes stay out of your personal inbox.
Before you start
- 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.
- An agent connected over MCP or the REST API. The ChatGPT app doesn't include wait_for_code and hides one-time codes, so use another client, such as Claude, Claude Code or Cursor, for this workflow.
- A service whose terms allow an automated agent to hold an account.
Steps
- Get the agent's address. The agent calls get_my_number. It returns the agent's @agentline.nz address.
- Fill in the sign-up form. The agent enters its own address in the service's sign-up form.
- Call wait_for_code straight away. Right after submitting the form, the agent calls wait_for_code with channel set to email, and from_contains set to part of the sender, such as the service's name. wait_for_code waits up to 55 seconds for a one-time code to arrive by email, then returns it. If it returns found=false, the agent calls it again.
curl -X POST https://agentline.nz/api/v1/wait-for-code \ -H "Authorization: Bearer $AGENTLINE_KEY" -H "Content-Type: application/json" \ -d '{"channel":"email","from_contains":"github","timeout_seconds":45}' - Enter the code. wait_for_code returns the code, the sender and when it arrived. The agent types the code into the form to finish signing up. Each code is handed out once.
- Handle a link instead of a code. Some services send a confirmation link rather than a code, and wait_for_code only returns codes. The agent calls list_emails with unread_only set to true, opens the message with read_email and follows the link if it can browse, or passes it to you.
- Mark the mail read. The agent calls mark_read with the email ids it has dealt with, so the next check with unread_only only shows new mail.
Limits to know about
- We can't guarantee that every service will accept an @agentline.nz address or send its codes there.
- Some services only verify by text. Texting is coming soon; to hear when it's ready, join the waitlist.
- wait_for_code looks at messages from the last 10 minutes unless the agent sets since_seconds, and it covers every inbox on the account. If two sign-ups run at once, set from_contains so each one gets its own code.
- Use the agent's address for accounts the agent runs itself. Don't make it the recovery email for your bank, IRD or other accounts you can't afford to lose.
Writing back to the service
The agent can reply from its address with send_email, passing reply_to_id to keep the thread. Until you're on a paid plan, your agent can only email your own verified email address.
FAQ
Can I choose the agent's email address?
Yes. When you sign up on agentline.nz you can choose the name before @agentline.nz: 3 to 30 lowercase letters, numbers, dots or hyphens. A few names, such as support and admin, are reserved.
Does the agent need a phone number to sign up to things?
No. Many services verify by email, and the inbox works from day one.
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
- How does wait_for_code get one-time codes for my agent?
- How do I create an Agentline NZ API key?
- Let your AI agent track deliveries from its own inbox
Start free · No credit card needed to sign up. Start free with an email inbox, or try Starter or Pro free for 7 days.