Deploy Email

Deploy a lightweight email service template on Railway.

Deploy Email

Just deployed

Railway Email Service

Template Header

Deploy a lightweight transactional email API on Railway.

Features

  • JSON API endpoint for registration emails
  • Health endpoint at /healthz
  • Runtime configuration via environment variables
  • Railway config as code via railway.toml

Required variables

PORT=8080
EMAIL_SERVICE_PROVIDER=gmail
EMAIL_HOST=smtp.gmail.com
EMAIL_CLIENT_USER=your-user@example.com
EMAIL_CLIENT_PASSWORD=your-app-password
EMAIL_CLIENT_FROM="Your App "

Production recommendations (Railway)

  • Keep credentials only in Railway Variables
  • Never commit .env files with real SMTP credentials
  • Use app passwords or provider-specific API keys
  • Monitor /healthz in Railway healthchecks

Airbyte Apache Airflow CodiMD Email Service GitLab CE Grafana Home Assistant InfluxDB Mosquitto MQTT Node-RED OpenSearch TYPO3 CMS


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
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0