Unified email and calendar API for developers (hosted or self-hosted)
One REST API and webhook stream over IMAP/SMTP, the Gmail API and Microsoft Graph, so SaaS teams can read, send and sync users' mailboxes and calendars without building each integration, sold as a self-hosted licence or a hosted per-account plan.
Dev Toolsb2bapideveloper-toolsemailcalendarself-hostedinfrastructure
The problem
CRMs, helpdesks, recruiting tools, AI sales agents and scheduling products all need to connect to their users' real mailboxes and calendars. That means three very different protocols (IMAP/SMTP, the Gmail API and Microsoft Graph), OAuth flows, token refresh, push notifications, threading, attachments, rate limits and endless edge cases. A team that tries it in-house typically spends months building it and then needs a part-time engineer to maintain it. Why now: AI agents that read and answer email made this a need for many more products, and the big vendors have moved upmarket. The best-known provider bills per connected account (about $1.75 to 2.25 per extra account per month on its published tiers), and buyers report contracts from hundreds to tens of thousands of dollars a month.
Who pays
- ICP: seed to Series B SaaS companies and agencies building CRMs, applicant-tracking systems, helpdesks, AI email assistants, and compliance or archiving tools. Also enterprises that must keep mail data on their own servers, which favours self-hosting.
- Pricing seen at this scale (estimate): a self-hosted licence at $99 to 299/month (or $1k to 3k/year) per installation, with priority support at $500 to 1,000/month. A hosted plan at $0.50 to 1.50 per connected account per month with a $49 to 99 minimum. At $18k MRR, the self-hosted mix is roughly 60 to 120 paying installations (estimate).
- Why self-hosting sells: data never leaves the customer's infrastructure (GDPR, finance, health), and pricing is flat instead of growing per account.
Proof it works
Plivko has not yet published tier-level counts, medians or growth rates for this archetype. In a sample of revenue-verified startups, the median business earned $0 in the last 30 days, the 95th percentile was about $5k and the 99th about $45k, so $18k/month sits around the top 2 to 3%. Developer-tool APIs, including self-hosted infrastructure sold as licences, appear at this level and tend to have low churn, because they get built into customers' products. Treat this as evidence that the band is reachable, not that it is typical.
Competitors and moat
- Hosted unified-API platforms (Nylas, plus broader unified-API vendors covering CRM, HRIS and email). They are feature-rich, per-account and sold to enterprises.
- Building on the raw provider APIs. The Gmail API and Microsoft Graph are free but labour-intensive.
- Open-source IMAP libraries. Free, but you get no sync engine, webhooks or support.
- Agent-email startups that offer new inboxes for AI agents, not access to existing mailboxes.
How small players win: a self-hostable single binary or Docker image with a flat price, excellent docs, a clear webhook model and fast founder support. Be honest about edge cases (Exchange quirks, Gmail label semantics). Once embedded, switching costs are very high. Publish reliability numbers and a changelog, because developers buy trust.
Market and regions
There is no clean public figure for email and calendar APIs specifically. The business shape is simple: a few hundred B2B products needing mailbox access, each paying $200 to 2,000/month, adds up to a market of tens of millions of dollars for the long tail below the enterprise vendors (estimate). Buyers are mostly in the US and EU, with a strong pull for self-hosting in Germany, France and the Nordics because of data residency, plus Israel and India for dev-heavy SaaS (estimate).
Getting customers
- Docs as marketing: "How to sync Gmail threads", "Microsoft Graph webhooks explained", and comparison pages. Developers search these exact problems.
- Open-core or source-available distribution on GitHub, with Docker Hub pulls as the top of the funnel.
- Community answers on Stack Overflow, Reddit and Hacker News, plus "Show HN" launches.
- Integration partners: CRM and helpdesk builders, and AI-agent frameworks.
- CAC: mostly organic and content-led, so $50 to 300 per paying install (estimate). Developer-tool ads rarely work at this price point.
- Time to the first $1k MRR: 3 to 6 months. Reaching $18k usually takes 2 to 4 years of compounding docs, SEO and word of mouth (estimate).
What it takes to build
Team: a solo backend engineer who knows email protocols deeply. Support is done by the founder; a contractor for docs and SDKs is optional.
| Layer | Provider id | Price (from data/providers.yaml) |
|---|---|---|
| Hosted tier compute | hetzner-cloud |
VPS from EUR 5.49/mo |
| Queue / state store | supabase or self-run Redis on VPS |
Pro from $25/mo |
| Licence portal hosting | cloudflare-workers + cloudflare-d1 |
Workers Paid $5/mo incl. D1 |
| Transactional email | postmark |
Basic $15/mo (10k emails) |
| Payments | paddle or polar |
5% + 50c / 5% + 50c (Starter) |
| Errors | sentry |
Developer free; Team $29/mo |
| Uptime + status page | better-stack |
10 monitors and 1 status page free |
| Logs | axiom |
Personal 500 GB/mo free |
| Docs search | typesense |
Self-host free |
| Support | plain or crisp |
Foundation $55/user/mo / free |
Entry cost per month: hetzner-cloud EUR 5.49 (~$6, estimate) + cloudflare-workers $5 + postmark $15 + sentry $0 + better-stack $0 + axiom $0 + typesense $0 + crisp $0 = about $26/mo. Self-hosted customers pay for their own compute, which keeps your cost of goods near zero. Budget for Google's OAuth verification and annual security assessment if your hosted tier requests restricted Gmail scopes. It is a real cost in time and money and is not in the provider file.
Region caveat: stripe requires a supported entity, and founders in Algeria, Egypt or Morocco usually set up a US LLC or use a merchant of record: paddle (software only, manual review, a good fit here) or polar (which pays out through Stripe accounts, so check payout eligibility). lemon-squeezy stopped onboarding new sellers on 2026-11-16.
30-day MVP plan
- Days 1 to 7: IMAP/SMTP sync to a local store, plus a REST API for list, read, send and search on one account.
- Days 8 to 14: Gmail API and Microsoft Graph OAuth adapters, and webhooks for new, updated and deleted messages.
- Days 15 to 20: a Docker image, a licence-key check, a quickstart guide and three code samples (Node, Python, PHP).
- Days 21 to 25: publish on GitHub with a free trial key, and write two deep technical posts.
- Days 26 to 30: onboard 5 design partners on a Slack connect channel. Aim for 3 paid licences.
Risks
- Provider changes: Google and Microsoft can change scopes, deprecate basic auth, or tighten verification at any time.
- Security liability: you handle the most sensitive data customers have. A breach would end the business, so offer self-hosting and encryption at rest.
- Long sales cycles for regulated buyers who need security reviews.
- Enterprise competitors can undercut on price for big logos.
- Founder support load grows with installations, so invest in docs early.