Communications · 2023
An Octek product that turns inbound email into structured webhook payloads using a prompt-driven AI agent.
- Client type
- Product and operations teams that receive work as email
- Services
- Data & AI, SaaS Development, Cloud Services
Problem
Inbound email is unstructured. Teams needed a way to capture mail at domain addresses, extract the fields that matter, and send that data into existing apps without manual copy-paste.
Stack
- Inbound email on configured domains
- Custom-domain receiving
- AI agent with custom prompts
- Structured JSON extraction
- HTTP webhook delivery
Outcome
Octek launched Mailbay as a digital product: inbound email is processed by an AI agent and posted as structured JSON to a webhook. The product was exhibited with Autobot at Future Fest 2023. Product documentation is public at docs.mailbay.io.
Context
Orders, support tickets, and vendor notices still arrive as email. Parsing that mail by hand does not scale, and generic inbox rules cannot extract business fields in a stable JSON shape.
What we built
Mailbay receives mail sent to any address under a configured domain, including custom domains. An AI agent reads the message against a user-defined prompt, then returns structured data — for example order IDs, totals, and vendor names — instead of a raw email body.
How it works
When processing finishes, Mailbay sends an HTTP POST to the team's webhook. Payloads include receipt metadata, headers, spam score, and the AI result. Teams can wire that into a CRM or automation workflow without polling an inbox.

