Stars
Forks
Watchers
Developer links
Posta
Built as a developer-first alternative to SendGrid, Mailgun, and Postmark, Posta delivers a complete self-hosted email infrastructure platform handling both outbound delivery and inbound reception through a single HTTP API with official SDKs for Go, PHP, and Java. The Go backend processes email through Redis and Asynq with automatic retries, priority queues, and async delivery while PostgreSQL stores templates, contacts, campaigns, and delivery analytics. Outbound features include versioned multi-language templates with variable substitution and stylesheet inlining, bulk campaigns with subscriber targeting and A/B testing per-variant metrics, scheduled timezone-aware delivery with draft/paused/cancelled lifecycle states, email address verification checking syntax, MX records, disposable domains, and role accounts, plus web view links with signed expiring URLs and one-click unsubscribe headers. The built-in SMTP receiver with TLS handles inbound email at your domains, parses messages and attachments, scores spam, and forwards structured payloads to your application via HMAC-verified webhooks with real-time SSE notification streams. The Vue-based dashboard manages templates, SMTP server pools, domains, contacts, API keys, campaigns, and email logs with dark and light mode support while admin-level platform metrics expose delivery rate trends, bounce rate graphs, and latency percentiles alongside Prometheus integration and daily health reports. Deploy via Docker with PostgreSQL and Redis. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache 2.0 licensed.
Benefits
- Combined Outbound and Inbound Platform
- Single deployment handles both transactional email sending via REST API and inbound email reception via built-in SMTP server with TLS, eliminating the need for separate services.
- Versioned Multi-Language Email Templates
- Template engine supports versioning with active-version pinning, locale fallback across multiple languages, variable substitution, stylesheet inlining, and live preview before sending.
- Campaign A/B Testing Built-In
- Bulk email campaigns include multi-variant split testing with per-variant delivery, open, and click metrics, scheduled timezone-aware delivery, and send-rate throttling with pause and resume.
- Full Delivery Analytics Dashboard
- Vue-based admin interface displays delivery rate trends, bounce rate graphs, latency percentiles, open and click tracking, and complaint monitoring with optional Prometheus metrics export.
Features
- REST Email API
- Send transactional, batch, and templated emails via HTTP with attachments, custom headers, scheduled delivery, and automatic async retry through Redis and Asynq queues.
- Built-In SMTP Receiver
- TLS-enabled inbound SMTP server parses messages and attachments, scores spam, stores raw content, and forwards structured payloads to webhooks with HMAC verification.
- Email Address Verification
- Pre-send validation checks syntax, MX record presence, disposable domain detection, and role-account identification to reduce bounce rates before delivery.
- Multi-SDK Developer Access
- Official client libraries for Go, PHP, and Java provide typed API access for sending, batch operations, template management, and webhook processing.
- Workspace Multi-Tenancy
- Isolated workspaces with separate API keys, domain configurations, SMTP pools, and analytics enable multiple teams or applications on a single Posta deployment.