Railway

Deploy YASES - Yet Another SES Wrapper

A self-hosted email service built on AWS SES with a nice dashboard

Deploy YASES - Yet Another SES Wrapper

Just deployed

/data

Just deployed

Just deployed

/var/lib/postgresql/data

Deploy and Host YASES - Yet Another SES Wrapper on Railway

A self-hosted email service built on AWS SES with a beautiful dashboard for managing identities, tracking deliveries, and handling bounces. Once deployed and connected to your AWS SES account, you get a simple REST API for sending emails, automatic bounce and complaint handling via SNS webhooks, real-time delivery analytics, and a web dashboard for managing sending domains, suppression lists, and API keys.

Source code: https://github.com/valtlfelipe/yases

About Hosting YASES - Yet Another SES Wrapper

This template is ready to use, you just need some ENV variables. Railway will take care of the rest.

Common Use Cases

  • Transactional emails — Send password resets, order confirmations, and notification emails from your app via a simple REST API
  • Domain reputation management — Track delivery rates, bounces, and complaints per domain to protect sender reputation
  • Suppression list enforcement — Automatically stop sending to addresses that bounced or complained, keeping your SES account compliant

Dependencies for YASES - Yet Another SES Wrapper Hosting

  • AWS account with production SES enabled.

Deployment Dependencies

Implementation Details

After deployment, run the AWS setup script to create the SNS topic and wire up webhook notifications:

bun run setup:aws --webhook-url https://your-railway-domain.up.railway.app/webhooks/ses

Add your sending domain via the dashboard, then copy the DKIM/MAIL FROM/DMARC DNS records to your DNS provider. Once verified, send email via:

curl -X POST https://your-domain.up.railway.app/api/emails/send \
  -H "x-api-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{"to": "user@example.com", "from": "you@yourdomain.com", "subject": "Hello", "html": "<p>Hi!</p>"}'

Why Deploy YASES - Yet Another SES Wrapper on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying YASES - Yet Another SES Wrapper on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Foundry Virtual Tabletop
A Self-Hosted & Modern Roleplaying Platform

Lucas
View Template
(v1) Simple Medusa Backend
Deploy an ecommerce backend and admin using Medusa

Shahed Nasser
View Template
peppermint
Docker-compose port for peppermint.sh

HamiltonAI