Skip to content
Saroj Dhakal
← All projects

Mail Service

A self-hosted email API you call over HTTP.

The problem

Every app needs to send email, and building that again for each one wastes time.

My role

This is my own open source project, from the Go service to the admin console.

What it does

  • Each API key has its own SMTP server, mail limits and allowed IPs
  • Mail history, with retry for failed mail
  • Admin console for keys and access requests

How it was built

  • Mail is queued and sent by worker goroutines, so requests return quickly
  • Every authenticated request is logged
  • Each release is published as a Docker image

Stack

Go, PostgreSQL, Docker