Skip to content

Eternals Mailer

Stable

Eternals Mailer is an email testing tool for developers. It captures emails sent by your application during development so you can inspect them in a clean web UI. Built with Go for SMTP capture, NestJS for the API, React for the web UI, PostgreSQL for persistence, and Redis for caching. Point your app’s SMTP config at Eternals Mailer, and every outgoing email lands in your local inbox — safely, instantly.

Layer Technology
Web UI React
API server NestJS
SMTP / core Go
Database PostgreSQL
Cache Redis
  • Token-based authentication — Secure API access with JWT tokens
  • Real-time email capture — Instant capture of all outgoing emails via SMTP
  • Full message inspection — View HTML/text bodies, headers, and attachments
  • Modern web UI — Clean React interface with dark mode support
  • Test email templates — Preview and validate email layouts before production
  • Debug email delivery — Inspect headers, content, and attachments during development
  • Verify SMTP integration — Confirm your app’s email functionality without sending real emails
  • QA workflows — Review automated emails in a safe, isolated environment
Terminal window
Your Application → SMTP (port 1025) → Go SMTP server → NestJS API → PostgreSQL
↓ ↓
React Web UI Redis
(port 8502)
Terminal window
docker run -d \
--name ec-mailer \
--restart always \
-p 8502:8502 \
-p 1025:1025 \
-e POSTGRES_URL=postgresql://postgres:password@host:5432/mailer \
-v mailer:/app/attachments \
eternalscloud/mailer:latest

Once the container is running:

  • Web UI: Open http://localhost:8502 in your browser
  • SMTP Server: Configure your application to send mail to localhost:1025

Configure your application’s SMTP settings to point to Eternals Mailer:

Setting Value
Host localhost (or container name in Docker networks)
Port 1025
Terminal window
const transporter = nodemailer.createTransport({
host: 'localhost',
port: 1025,
secure: false
});
Variable Required Description
POSTGRES_URL Yes PostgreSQL connection URL (e.g., postgresql://postgres:password@host:5432/mailer)
Port Description
8502 Web UI and REST API
1025 SMTP server
Path Description
/app/attachments Mail attachment storage

Eternals Mailer provides developers with a safe, self-hosted environment for testing email functionality. Catch every email, inspect it instantly, and ship with confidence — no emails ever leave your development environment.