Deploy useSend

Open-source email platform on your own Amazon SES (Resend alternative)

Deploy useSend

/var/lib/postgresql/data

Just deployed

/data

Deploy and Host useSend on Railway

useSend is an open-source email platform and a self-hosted alternative to Resend, SendGrid and Postmark. It sends transactional and marketing email through your own Amazon SES account, with a REST API and SDKs, domain verification, contacts, campaigns, webhooks and delivery analytics in one dashboard.

About Hosting useSend

useSend is a Next.js app that needs PostgreSQL for its data and Redis for its job queues. This template runs useSend v1.10.4 from a pinned official image, plus Railway Postgres and Redis on private networking with volumes. Database migrations run on every start. Before deploying, create a GitHub OAuth app for login and an AWS IAM user with SES and SNS access, and enter both when Railway asks. The first account to sign in becomes the admin; everyone else joins through a team invite. Then add your sending domain in useSend and publish the DNS records it shows.

Common Use Cases

  • Sending transactional email (sign-up, password reset, receipts) from your apps through the REST API or SDKs
  • Running newsletters and marketing campaigns with contact books and unsubscribe handling
  • Tracking deliveries, bounces, complaints, opens and clicks across several domains and teams

Dependencies for useSend Hosting

  • PostgreSQL (included, Railway Postgres)
  • Redis (included, Railway Redis)
  • An AWS account with Amazon SES, and a GitHub OAuth app for login

Deployment Dependencies

Implementation Details

The useSend service builds from aalfath/usesend-railway-template, so Railway offers you an update when the template moves to a newer useSend release (see CHANGELOG.md before applying). Set the GitHub OAuth app's callback URL to https://YOUR-DOMAIN/api/auth/callback/github. If you add a custom domain, change NEXTAUTH_URL to match. Optional settings from useSend's .env.selfhost.example can be added as variables: Google login (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET), a fixed admin (ADMIN_EMAIL), image uploads in the email editor (S3_COMPATIBLE_*, any public S3-compatible bucket) and automatic cleanup of old email content (EMAIL_CLEANUP_DAYS). useSend's separate SMTP relay (apps/smtp-server upstream) is not part of this template.

Why Deploy useSend 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.

By deploying useSend 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
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
Letta Code Remote
Run a Letta Code agent 24/7. No inbound ports, just deploy.

Letta
52