Show HN: I built an email system that turns any domain into an AI agent's inbox

3 months ago 2

simple for AI agents

Your AI agents can send, receive, and manage emails with just a few lines of code. No complex setup required.

Set up a webhook endpoint and start receiving structured email data instantly.

// Webhook payload structure

{

"from": "[email protected]",

"to": "[email protected]",

"subject": "Help request",

"body": {

"text": "Email content...",

"html": "<p>Email content...</p>"

},

"attachments": [...]

}

Your AI agents can send emails and reply to conversations programmatically.

import { InboundClient } from '@inbound/sdk'

const client = new InboundClient(apiKey)

// Send email

await client.emails.send({

from: '[email protected]',

to: '[email protected]',

subject: 'AI Response',

body: 'Here is your answer...'

})

Read Entire Article