Receive support tickets, auto-generate responses, and reply — all programmatically. Escalate to humans only when needed.
Your AI agent handles the full email lifecycle — from receiving tickets to sending replies.
Customers email your agent directly. Webhooks deliver the message to your AI in real time — no polling needed.
Your AI reads the message, looks up relevant context, and drafts a personalized reply — all programmatically.
Automatic threading keeps the full conversation history. Your agent always knows what was said before.
Your agent can escalate complex issues to a human by forwarding the thread or adding a note.
Customer emails
support@yourco.com
Agent reads message
via webhook
Agent replies
API call
Escalates if needed
human-in-the-loop
// Webhook payload — your agent receives this
{
"event": "message.received",
"data": {
"id": "msg_abc123",
"from": "customer@example.com",
"subject": "Can't reset my password",
"text": "I've tried 3 times and keep getting an error.",
"thread_id": "thr_xyz789"
}
}
// Your agent replies
POST /api/v1/inboxes/{inbox_id}/messages/{message_id}/reply
{
"text": "Hi! I've reset your password. Check your email for a new link."
}Sign up, point your support address at MailboxKit, and let your AI agent handle the rest.