Mannat·AI·Labs
← Selected work

Case study · 07 · Infrastructure tooling

Outpost Relay

Enterprise email and notification delivery you own — a single REST endpoint in front of queue-backed, multi-tenant, fully observable delivery infrastructure.

Status
In development · MIT licensed
Domain
Infrastructure & delivery tooling
Links
GitHub

The problem

Almost every application needs to send email — welcome messages, password resets, invoices, alerts. The default answer is a SaaS provider: per-email pricing that scales against you, your users' data held by a vendor, and an integration you can never leave. Like billing software, delivery infrastructure is something teams rent forever for a need that never changes.

The approach

Outpost Relay is an open-source alternative to SendGrid and FormSubmit that runs on your own infrastructure. Applications call one endpoint — POST /api/v1/send — and the platform handles everything behind it:

Security at every layer

The lab's security practice shows in the details: API keys hashed with HMAC-SHA256 and never stored in plaintext, SMTP credentials AES-256-GCM encrypted at rest, constant-time key comparison against timing attacks, per-key rate limiting, structured logs that auto-redact secrets, and containers that run as a non-root user.

One docker-compose up starts the API, worker, dashboard, database, and queue — migrations included. Infrastructure cost only; no per-email pricing, ever.

Status

In active development at Mannat AI Labs — TypeScript throughout (Fastify, Next.js, PostgreSQL, Redis), MIT licensed, built Docker-first for self-hosting. It already powers delivery for the lab's own products as its first production tenant.