All projects
Backend

Transactional Email & Job Scheduling API

A production-grade backend API in Go that handles transactional email delivery and cron job scheduling. It runs in multi-server environments without duplicate job execution and can survive server restarts via an optional AWS execution path.

Transactional Email & Job Scheduling API
the build, taped
01

What it does

  • SMTP email delivery with connection pooling
  • OTP verification with Redis-backed TTL
  • Multi-replica-safe cron scheduler using PostgreSQL row-level locking, prevents duplicate job execution across servers
  • Optional AWS execution path: EventBridge triggers SQS which invokes Lambda, jobs survive server restarts
  • Full infrastructure provisioned as code with AWS CloudFormation
03

Challenge and outcome

The challenge

Designing a cron scheduler that never executes the same job twice across multiple replicas, solved with PostgreSQL row-level locking, and an execution path that survives server restarts.

The outcome

Live and publicly accessible. Demonstrates cloud architecture, infrastructure as code, distributed systems thinking, and production-grade Go engineering.