Emailer preview

02 · Backend

Emailer

A production-focused email delivery service for transactional and bulk messaging. Keeps apps responsive with background processing while ensuring secure access and dependable delivery under load.

Type

Backend

Role

Backend Engineer

Built

2025

Updated

2025

Tech Stack

Express.jsRabbitMQMongoDBSMTPTypeScript

Highlights

  • ✦Background processing with RabbitMQ
  • ✦Transactional and bulk messaging workflows
  • ✦Monitoring and fault-tolerant delivery paths

01

Why I Built This

If your API waits on SMTP before returning 200, you’ve already lost. Email is slow, flaky, and fails in ways users shouldn’t feel.

Emailer exists to make delivery a background concern — accept the job, queue it, return fast, and let workers own retries and failure modes.

02

Reliability Model

HTTP accepts the request, publishes to RabbitMQ, and returns. Workers handle SMTP with retries, backoff, and dead-letter paths for poison messages.

Transactional and bulk mail share infrastructure but not priorities — routing keeps password resets from sitting behind newsletters.

MongoDB stores job metadata and delivery state so operators can inspect what happened without digging through broker internals alone.

03

What I Learned

Queues aren’t an optimization — they’re the correctness boundary between user-facing latency and unreliable third-party delivery.

Observability matters as much as code: ack rates, retry depth, and DLQ size tell you when the system is healthy.

Up Next

Dental Services

Hospital-facing dental services platform with multilingual UX and Firebase admin tools.

Web App →