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.

LayerTechnology
Web UIReact
API serverNestJS
SMTP / coreGo
DatabasePostgreSQL
CacheRedis
  • 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:

SettingValue
Hostlocalhost (or container name in Docker networks)
Port1025
Terminal window
const transporter = nodemailer.createTransport({
host: 'localhost',
port: 1025,
secure: false
});
VariableRequiredDescription
POSTGRES_URLYesPostgreSQL connection URL (e.g., postgresql://postgres:password@host:5432/mailer)
PortDescription
8502Web UI and REST API
1025SMTP server
PathDescription
/app/attachmentsMail 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.