Launch HN: AgentMail (YC S25) – An API that gives agents their own email inboxes

15 hours ago

Hey HN, we're Haakam, Michael, and Adi. We're building AgentMail (https://agentmail.to), the email inbox API for agents. We’re not talking about AI for your email, this is email for your AI.

Email is an optimal interface for long-running agents. It’s multithreaded and asynchronous with full support for rich text and files. It’s a universal protocol with identity and authentication built in. Moreover, a lot of workflow critical context already lives in email.

We wanted to build email agents that you can forward your work to and get back a completed task. The agents could act entirely autonomously as you wouldn't need to delegate your identity. If they did get stuck they could just send you, or anyone else, an email.

Using Gmail, we kept getting stuck on the limitations of their API. No way to create inboxes programmatically. Rate and sending limits. OAuth for every single inbox. Keyword search that doesn't understand context. Per-seat pricing that doesn't work for agents.

So we built what we wished existed: an email provider for developers. APIs for creating inboxes and configuring domains. Email parsing and threading. Text extraction from attachments. Realtime webhooks and websockets. Semantic search across inboxes. Usage-based pricing that works for agents.

Developers, startups, and enterprises are already deploying email agents with AgentMail. Agents that convert conversations and documents into structured data. Agents that source quotes, negotiate prices, and get the best deals. Agents that emulate internet users for training models on end-to-end tasks.

Here's demo of Clawdbots communicating using AgentMail: https://youtu.be/Y0MfUWS3LKQ

You can get started with AgentMail for free at https://agentmail.to

Looking forward to hearing your thoughts and feedback.

I'm 100% for this, but I think you can go even more granular than "gives agents their own inboxes".

Thanks to Action Mailbox in Rails[1], I give all my records email addresses. Eg let ecommerce "order" records accept forwarded emails that are pinned as comments. It opens you up for doing things like forwarding a purchase order and having the PO number pulled out and attached to an order, or forwarding tracking information from a supplier and having it attached to a "supplier order" etc.

In my personal life I have individual email addresses for all my utilities and emails automatically get filed away.

If this idea tickles your fancy, I opensourced Emitt[2], an inbound email processing server with LLM-powered automation.

1. https://guides.rubyonrails.org/action_mailbox_basics.html

2. https://github.com/schappim/emitt

  • The only problem I have experienced few times with those unique email addresses is, sometimes they/utilities ask me to email from my official email address, and my setup is a catch-all, so I have to log in my pc at home, set up that address, send email.

The transition timing here is key - while native agent protocols will eventually emerge, email provides the interoperability bridge we need today. Building on established infrastructure makes sense when you're solving the coordination problem of getting all agents to adopt the same communication standard. Rather than waiting for consensus on new protocols, using email lets agents participate in workflows immediately.

I'm concerned that this fits in "using today's innovation to solve outdated paradigms".

Google has A2A: An Agent-to-Agent Protocol. SaaS is plumetting in value.

Arbitrary semantics made sense when communications were human-dominated.

If agents dominate these fields, why wouldn't they simply set their own protocols and methods to communicate both text, binary, and agreed data structures?

There's an assumption that email is somehow the best channel, when you've found yourself that the most popular, functional interfaces don't align with your expectations.

Then, ultimately I have a single agent that can sit in numerous communication platforms, such as email

  • Fair concern, and I agree on the end state. Agents will eventually use native agent-to-agent protocols.

    The question is the transition, because email is undoubtedly the most ubiquitous channel of communication in today. I would only give my agent an A2A integration if your agent has an A2A integration, but because you don't we are at a stalemate. I'd rather just give my agent an inbox where I know it can communicate with the other billions of people that already have an email address.

    Email isn’t the final protocol for agents. It’s the bridge that lets them participate in today’s internet while native agent protocols/networks emerge.

Interesting take, but this feels like one of those tarpit ideas that YC discourages their portco to start attacking.

Guaranteed this is going to attract a ton of abusers who are looking to use this for signing up to services, spamming or other nefarious purposes, which then blacklists the doman. This is an infinite whack-a-mole.

do you guys have some ways of handling it?

  • We do have robust checks in place to catch spam and bad actors(reputation, SPF DKIM DMARC, etc.) but as with all tools there will be bad actors who come up with creative ways to scheme for nefarious purposes.

    We expect our infra and policies to evolve with usage, and one of our goals is to make agent driven email safer than the status quo, not just more scalable

    • But as of now you're just wide open for abuse? Okay

      Resend uses SES since it's almost impossible to get private IP mail to hit the inbox through ProofPoint filters. Looks like you have no idea about any of this. You don't even have knowledge of email reputation, much less a plan. Have you heard of Senderscore? You will have all zeros. Saying "SPF DKIM DMARC" is wild - that's a checklist from 15 years ago.

      1 reply →

  • I don't think they use the agentmail domain for sending emails. Users connect their own domain and manage reputation (similar to all the other email marketing tools)

Cool launch. Assuming you guys view email (and therefore SMTP) as becoming the de facto agent communication protocol in the long run. My question — why not something bespoke, similar to OpenAI’s Agentic Commerce Protocol or x402 from Coinbase?

  • Network effects - agents need to meet humans where they already work. Would rather use something standard than bespoke.

    • And how long will humans and agents be communicating over email?

      We have strict rules for our customer service people not to respond to what seems to be a bot, since all the "agent" based communication we get is for conducting scams. It is never worthwhile to engage with or pursue.

      If we lose a sale or two, that's okay.

      1 reply →

This is super interesting. Interesting to see how I'll be able to use this to help my customers with handling email responses. Gmail sucks for this. Super excited to see what you guys develop this into. Will this be able to eventually expand to other forms of agent communication (i.e. payment or phone numbers)?

> Application error: a client-side exception has occurred while loading www.agentmail.to (see the browser console for more information).

I would advise to have the landing page static, or at the very least as something that can't crash entirely.

A pricing thought: if you keep the volume limits but do 10x the amount of inboxes per plan, I think that could be more attractive. For If I have 100s of agents that send limited email each.

> Agents that source quotes, negotiate prices, and get the best deals.

Didn't Alexa fail miserably with the "have AI buy something for me" theory?

There is a significant mental in allowing someone else make purchase decisions on my behalf:

- With a human, there is accountability.

- With deterministic software, there is reproducibility.

With an agent, you get neither.

FWIW - I am not anti-LLM. I work with them and build them full time.

  • We are using AgentMail for sourcing quotes here at scale with various top shippers. It’s not about letting the agent act in fully deterministic ways, it’s about setting up the right guardrails. The agents can now do most of the job, but when there’s low confidence on their output, we have human in the loop systems to act fast. At least in competitive industries like logistics, if you don’t leverage these types of workflows, you’re getting very behind, which ultimately costs you more money than being off by some dollars or cents when giving a quote back.

    • Okay that makes sense.

      Do you see more pushback in specific industries? I did some quote/purchasing automation work in food mfg a decade ago, and those guys were super difficult to work with. Very opaque, guarded, old-school industry.

      1 reply →

  • This refers to B2B use cases that are live in production. Finding, contacting, and negotiating with vendors is a tedious process in many industries. In the time a human reaches out to 10 vendors, an agent reaches out to 100 or 1000. So it finds deals that a human would not have.

    • Once vendors are getting AI spam sent to 1,000 of them and their competitors, they will stop responding and find other sales channels. This won't be sustainable.

      4 replies →

    • But if you hire ten or 100 real humans you have accountability and the same number of contacts per day?

      Are logistics companies really that poor so they cannot afford to pay workers wages?

      2 replies →

The moat for SaaS is gone.

I am 99% certain I could build to parity in a weekend using Cloudflare without the the pricing limitations.

I am thinking it would be within the free tier of CF usage.

I am not certain I have the bandwidth to communicate over delivery and plain text inspection concerns.

  • The moat around TV shows feels gone with TikTok/YT.

    I am 99% certain I could reach parity in a weekend by publishing content on public networks, without the old distribution or pricing constraints.

    I think it would all run on infrastructure that is effectively free to use.

    I am not certain I have the bandwidth to handle distribution, sustained attention, and moderation once the content starts flowing.

  • We're going to collapse society with this style of thinking, particularly since it can now escape out into the realm of non-technical folks.

    Death of true understanding because everyone feels entitled to paying the lowest perceived monetary cost possible for everything in their lives.

  • This depends on what kind of SaaS

    I guarantee you that the "moat" is very much intact for the SaaS we are building (more developer / gaming tool but then again so is this) because it requires specialized skills, synthesis and most importantly AI would have no idea how to build it without very specific prompting from our architect

    CRUD wrappers never had a moat. Even the most basic viable SaaS that wasnt a micro SaaS had some secret sauce or differentiation. And AI doesnt help you get that unless you already know what it is.

    Not to mention network effects. Users are a moat and if you can sell and grow fast enough and create a community, no amount of "there's a clone" can beat it. Never underestimate the power of brand recognition.

  • the moat is always going to exist between the haves and have nots. AI just raises the bar for the standard of quality. you are not going to vibe code a new OS in a weekend - or else everyone else and their mamas could, too, in which case, you wouldn't be special

  • This is not true. And it's easy to disprove.

    Most SaaS pre-AI had an open source alternative. Most people didn't use them not because the open source alternative lack some features, it was because mainteinance was hard. It's way easier to pay a small monthly fee and forget about it.

  • Isn’t your comment just the “modern” take on the famous HN comment deriding Dropbox?

    • For every dropbox that managed to build a business out of a feature, there are probably >1000 that didn't. But I guess this meme is a good way to kill off bad businesspeople.

  • Perhaps you could, but you probably always could've built a clone of any SaaS app you wanted, it's just become faster.

    I'm reminded of the infamous Dropbox Hacker News comment[1]. If you're looking at stuff like this thinking "what's the point? I could just make that myself" then you're not the target audience in the same sort of way Ikea isn't trying to sell stuff to carpenters.

    This is true even when the barrier to entry in making these sorts of systems has gotten way lower.

    1. https://news.ycombinator.com/item?id=9224

  • Exactly this ... tools like Claude Code have flattened the complexity curve of building/maintaining things like this to practically zero.

  • I thought cloudflares email product is only for receiving, not outbound ?

    • I was writing this comment and then asked AI model to find me a blog post and it looks like Cloudflare does support outbound now (I am seeing a send mail option) https://blog.cloudflare.com/email-service/ So yes it supports both and this feature was recently added (september 2025) & its still in private beta or something similar but yes now its possible.

      But I have still written parts of the comments where I had assumed that you were right and I am still gonna let it be to show what my thinking process was I guess. Not that it matters now but I am frugal in finding alternatives sooo yeah :> lol (currently the cf private beta option's the best imo)

      Yea I am a little bit confused as well being honest.

      That being said, I feel as if even if Cloudflare might not be the best approach, one can try out purelymail (https://purelymail.com/) as well.

      I feel as if Amazon SES might be the best option for it (or any EU alternative, I remember seeing an UK service with the same competitive pricing of Amazon SES)

      But that being said, I am unable to understand the exact use of E-mail & what's the real idea to suggest the best infrastructure to use.

      I mean technically, can something like cloudflare workers for inbox and amazon ses for outbound work if cloudflare email product is only for receving

      That being said all of this is basing on the fact that what you thought is right

      1 reply →

  • > The moat for SaaS is gone.

    What does this even mean?

    I could spend $1,000s on tokens asking an agent to build (some semblance of) Sentry, or New Relic, but why would I bother? I have real work to do in the near-term, and I'm happy to pay for services that help me do it.

    • All the hard work is always chasing down edge cases, scaling, operational issues and other things that don't show up the user-exposed features. And talking about features, the innovation in coming up with them, or iterating on making them work with real customer experience is a ton of value, even if copying the ideas that work later is much easier - which is why I generally prefer betting on an innovator with just of enough traction to show they can stick with it. The best category leaders both innovate and steal/copy/buy all the innovation they aren't producing in house to maintain their lead.

      1 reply →

    • You don't tell agents to build this stuff from the ground up. Someone builds an open source tool, and you get your agents to deploy and customize it. The plumbing and groundwork is already laid, you're just detailing.

    • It's a bit vague, but the idea is right. If your SaaS is built with AI, then any customer you have can also build it with AI, and whatever they build is going to be better suited to their needs and will run cheaper because they aren't paying your margin. AI skews the build vs buy curve massively, because it makes building so much easier

      2 replies →

  • honestly, I have been thinking about it. But I feel like it would be a fun little side project if people actually try it out. (maybe you mention that you can build it)

    So let's see how many people actually build it. Let's make it the new browser test instead and launch many open source solutions instead and see what's the best perhaps.

    It would be a really great experiment imo.

How does this differentiate from a solution like AWS SES? (Which I assume AI Agents would be quite adept at using to send email)

I understand the differentiator vs GMail, but API-based scripted email access isn’t new.

  • Because we built the same inbox infrastructure as Gmail. Inboxes have threads, threads have messages, messages have attachments. You can search, label, filter, reply, forward. None of this comes out of the box with SES.

excellent idea, this will eventually be the SendGrid for email agents. Just automating 2FA alone is worth the gold. And there's tons of use cases.

I have no doubt this will be huge.

If the agent is sending emails to people you don’t know (“sourcing quotes”) wouldn’t this be a violation of Amazon SES (and all other email providers) terms? Dont they expect permission from the people you are contacting? How’d you get around that?

Seems like you're using email as a long lived task queue/journal system. Definitely optimizing for customer recognition/novelty over technical merits. Best of luck!

If you know agents email address, it can still be Prompt Injected.. what prevention exists there ?

  • we have a few things in place, allowlists and permissions act as a layer. also beginning some work on prompt isolation within api soon. but having an isolated identity + data within a separate agentic inbox also puts less risk of your personal email data being injected - which is most people's main concern

Looked into this for my clawdbot, but ended up just using himalaya CLI connected to a new Gmail. Been working great so far - curious about what agentmail is better for

  • We have had some users get banned from Gmail for using it Clawdbot. Regardless our API is way more agent friendly and I think your Clawdbot would agree.

I’ve been looking at getting this going but stalwart mail, I have it setup but haven’t done much. I actually for now was thinking vpn only between me any my agents

> Email is an optimal interface for long-running agents.

Long-running agents are themselves not optimal though. There are a ton of these coordination layers for long running agents now but they don't make any sense under other paradigms

  • We build "long running" email agents. But it's not really long running in the sense of an agent taking 1000's of actions in a giant loop.

    It's more "long running" because the agent takes 4 steps, then waits a week for the user to email it back. We might have a successful client exchange that takes a month, but for the Agent it's 99% just waiting for the next user reply.

The 2FA via email case is great. I recently had to build a browser automation workflow that required 2FA. I ended up using Zapier to monitor email inbox and then extract the code and send back to our API. It was a bit slow.

  • Why didn't you just use something like Mailinator? They specialize in this exact thing. Gives you an API to grab links and everything. That's what I use.

  • Yup plus webhooks are overkill for this. Need to set up a public HTTP server and pass messages to your agents. With websockets you can open connection right from your agent and close it in seconds once the 2FA code is delivered.

It’s a really nice idea actually. There will be some concerns, maybe some mistakes, but it really works as a mean to communicate much easier with an agent

This is fascinating - giving agents dedicated email addresses solves a real coordination problem in multi-agent workflows. I can see this being especially valuable for customer service automation where different agents need to maintain conversation continuity. Curious about how you handle email threading and context preservation across agent handoffs?

hah this is a great idea! sending email is such a common way to communicate and having agents with an inbox makes so much obvious sense. heh just don't let their addresses get out who knows how they'll respond to spam and phishing attempts.

  • This is a good point. We have anti-spam measures in place and allow users to configure allow/blocklists to mitigate attacks.

  • Can't wait for agents to change the code they are building to buy Amazon Point cards at Target and send the codes back.

Looks like SES + api access, isn’t Amazon offering that already?

  • > Because we built the same inbox infrastructure as Gmail. Inboxes have threads, threads have messages, messages have attachments. You can search, label, filter, reply, forward. None of this comes out of the box with SES.

    aws just gives you a low-level smtp + api service. we are the application layer they do not offer but your agents need to actually use email as first-class users.

  • No offence, but this reads to me like the classic dropbox HN comment

    The idea is pretty solid, automation platforms often provision a mailbox per flow for this reason, so it makes sense to make a generic service that can be used through MCP for agents

How do you think this will help with identity verification in the future?

  • Email is already the internet’s identity layer. By giving agents their own inbox they don't need to borrow human identity rather act as first class actors on their own.

    It lets agents plug into the same trust systems the web already uses! And this opens the door to new ways agents can do work and build credibility on the internet.

  • The nice thing about email is that identity verification is already built in. In fact online identity is based on email.

Very interesting. I have a lot of enterprise AI use cases that would really benefit from being email native.

We’re an O365 GCC shop. Appreciate that your enterprise options include Bring Your Own Cloud, that makes things much easier for us.

It would be nice to have integrations with n8n and Glean.

I have written in one of my comments here about how slow teh website is in one interacton

Then I scrolled even more in the website and the amount of lag, my my, I don't even know what to say but the amount of lag is something I have genuinely never witnessed in any website. This is like a new low. I really just want to archive this website to preserve how abysmally slow the website is and its aniations and everything. image literally loading 10% and everyhting.

Ship fast and break things is shying from what I am witnessing in here. Sfabt (ship fast and break things) is gonna use your service to talk to the agent which created this project to ask it personally to slow down

I can't view your website in 16 gigs of a computer... Weird where the world's progressing in this sense and how it got (YC funded?)

Quite frankly I am out of words for how slow the website is. Its really just that bad to be in its own league. Sorry to say.

amazing now do the same for voice and sms!

  • Done. Texts can be sent to email addresses and texts can be sent via email, and you can dictate texts and have them read back to you with text-to-voice.

  • We have gotten a lot of requests for SMS. Seems like a natural next step.

    • i think when someone makes the cli like this they're going to win

      $ phone call bill

      ok call_id=3f2a

      $ phone status 3f2a

      dialing

      $ phone status 3f2a

      answered

      bill: hello

      $ phone say 3f2a "hey, quick question"

      ok

Hey I’m also working on this what a coincidence: https://ai-chat.email

Second time at least HN is launching YC on one of my products:

BrowserBox - hyperbeam

Mailpilot/AI-chat.email - agentnail

"Application error: a client-side exception has occurred while loading www.agentmail.to (see the browser console for more information)."

> Looks at developer console...

- "Failed to create WebGL context: WebGL is currently disabled." Dafuq does an email website need WebGL for?

- "Cookie “dmn_chk_xxxxxxxx-yyyy-dead-beef-123456789ABC” has been rejected for invalid domain."

Let me guess...vibe-coded?