Back to portfolio

Multi-tenant transactional email platform · 2026

Notification Service

Centralized email delivery with isolated application credentials, templates, senders and operational administration.

Tenancy
Multi-tenant
Consumers
4 systems
Status
Pre-production

Problem

Multiple business systems maintained separate SMTP credentials and email logic, making security, auditing, domain changes and delivery standards difficult to manage consistently.

Contribution

Designed and built a TypeScript platform with a hardened Express API, PostgreSQL multi-tenancy, per-application API keys, Resend templates and a protected Next.js administration console.

Key points

  • Scoped credentials for Taller Bolaños, AMAC, Mazari and CN Repuestos without exposing the Resend provider key.
  • Reusable flows for password invitations, password resets and contact or membership forms.
  • Administration for tenants, applications, senders, templates, API keys and audit events.

How it is built

  • Express API deployed as a non-root Docker image behind Traefik, with health checks, rate limiting and idempotent dispatches.
  • PostgreSQL stores tenant boundaries, hashed API credentials, provider mappings, quotas and dispatch history.
  • Next.js administration uses Better Auth and keeps provider secrets exclusively in the API service.

Stack

TypeScript · Node.js · Express · Next.js · PostgreSQL · Prisma · Better Auth · Resend · Docker · Dokploy · Vercel