---
title: "Deploy YASES - Yet Another SES Wrapper"
description: "A self-hosted email service built on AWS SES with a nice dashboard"
category: "Other"
url: https://railway.com/deploy/deployyases-yet-another-ses-wrapper
---

# 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 on Railway](https://railway.com/template/deployyases-yet-another-ses-wrapper)**

- **Creator:** FVM
- **Category:** Other

## Template content

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### worker

- **Image:** ghcr.io/valtlfelipe/yases:latest
- **Start command:** `bun server/workers/index.ts`

### dashboard / api

- **Image:** ghcr.io/valtlfelipe/yases:latest
- **Start command:** `bun /app/server/index.mjs`
- **Health check:** /health

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

## Documentation

# 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

- [AWS SES Documentation](https://docs.aws.amazon.com/ses/latest/dg/Welcome.html)
- [AWS IAM — creating access keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html)
- [AWS SES — requesting production access](https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html)


### Implementation Details

After deployment, create an IAM with [this policy](https://github.com/valtlfelipe/yases#aws-iam) and add your AWS account throught the Dashboard.

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:

```bash
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.


## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — [Jul'26] Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/deployyases-yet-another-ses-wrapper
