Email infrastructure you own
Route every inbound email with plain JavaScript, straight into your own database. Unlimited inboxes, unlimited users, one flat price — no per-seat tax, no lock-in.
export default pipe(async (email) => {
// route by sender
if (email.from.endsWith('@stripe.com'))
await db.payments.insert(email);
await slack.notify('#ops', email);
});Trusted by engineering teams shipping at scale
Why Mailpipe
The email layer that works for you
Everything you need to receive, route, and own your email — without the per-seat pricing and vendor lock-in of legacy providers.
You own the data
Connect your own Postgres or MongoDB. We process the stream and route it — email bodies are never stored at rest on our side.
Routing in plain code
Write rules in standard JavaScript. Fan emails out to webhooks, S3, Slack, or any API endpoint with full programmatic control.
pipe(async (email) => {
if (email.to.includes('support'))
return forward('#triage');
await db.leads.insert(email);
return ok();
});Provider agnostic
Swap the underlying provider — SES, SendGrid, Mailgun — without touching a line of your application code.
Swap providers · zero code changes
Flat, honest pricing
No per-seat tax. Unlimited inboxes, unlimited users, unlimited addresses on every plan. Scale without surprise bills.
Secure by default
TLS 1.3 everywhere, SPF/DKIM/DMARC handled for you, and SOC 2 Type II controls. Your data flows directly to you, encrypted.
Built for scale
Sub-50ms median routing latency on a 99.99% uptime SLA. The pipeline keeps up no matter how much volume you throw at it.
How it works
Live in three steps
From DNS to your database in an afternoon. No mailboxes to manage, no infrastructure to babysit.
Point your domain
Add a few DNS records and verify your domain. We handle SPF, DKIM, and DMARC so deliverability just works.
Write your routing
Define a single handler in JavaScript. Every inbound email runs through it — parse, branch, and dispatch however you like.
Own the stream
Emails land in your database and your services in real time. No mailbox lock-in, no per-message fees, no surprises.
Programmable by design
One handler. Total control.
Skip the brittle filters and rigid dashboards. Express your routing as code — branch on any field, enrich, transform, and dispatch wherever your stack lives.
- Type-safe SDK with first-class TypeScript support
- Deploy rules instantly — no redeploys, no cold starts
- Built-in helpers for parsing, attachments, and threading
// One function. Every inbound email runs through it.
import { pipe, db } from '@mailpipe/sdk';
export default pipe(async (email) => {
// 1. Verified, parsed, ready to use
const ticket = {
subject: email.subject,
body: email.text,
from: email.from,
};
// 2. Write straight to YOUR database
await db.tickets.insert(ticket);
// 3. Cost to scale? Still flat.
return ok();
});Loved by builders
Built for people who ship
Founders and engineers who replaced bloated email platforms with a layer they actually own.
“I love how easy and straightforward all of the features are. It does exactly what it needs to.”
“I manage 15 domains and 150+ emails with a single plan.”
FAQ
Questions, answered
Everything you need to know before you point your first domain.
Inbound and outbound email flows through Mailpipe, but the data lands in your database. We never store email bodies at rest. You keep full ownership and portability — there is no mailbox to migrate out of later.
Yes. Because you own the database, we do not store user profiles or count seats. Our infrastructure routes the data; your database stores it. We never penalize you for growth.
Absolutely. Mailpipe is provider-agnostic. Switch your underlying service — SES, Mailgun, SendGrid — in the dashboard without changing your code or routing rules.
We never store email bodies at rest — data flows directly to your database. All connections use TLS 1.3, SPF/DKIM/DMARC are managed for you, and we operate under SOC 2 Type II controls.
Still curious? Talk to the team.
One flat price · $14/mo
Ready to own your email?
Start free, upgrade when you launch. Unlimited inboxes and users on every plan — no per-seat tax, ever.