---
title: "Deploy Listmonk[Updated June'26]"
description: "Self-hosted newsletter & mailing list manager — own your data."
category: "Automation"
url: https://railway.com/deploy/listmonk-2
---

# Deploy Listmonk[Updated June'26]

Self-hosted newsletter & mailing list manager — own your data.

**[Deploy Listmonk[Updated June'26] on Railway](https://railway.com/template/listmonk-2)**

- **Creator:** Tasha
- **Category:** Automation
- **Total deploys:** 2

## Template content

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

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

### listmonk

- **Source:** Amritasha/listmonk
- **Public domain:** Yes

## Documentation

# Deploy and Host listmonk on Railway

**listmonk** is a high-performance, **self-hosted newsletter and mailing list manager**. It ships with a modern web UI, subscriber management, templated campaigns, analytics, and a REST API — giving you full ownership of your audience data without relying on third-party email platforms.

## About Hosting listmonk on Railway

Hosting listmonk requires running its **Go-based application server** alongside a **PostgreSQL database**. listmonk stores all subscriber data, campaign content, and analytics in Postgres, so a reliable, persistent database is essential. On Railway, both services are provisioned and networked automatically. The app reads its database connection and SMTP credentials from environment variables at startup. You'll also need to configure an external **SMTP provider** (such as Amazon SES, Postmark, or SendGrid) for actual email delivery — listmonk handles the scheduling and templating, but delegates sending to your chosen provider.

## Common Use Cases for Self-Hosted listmonk

- **Running newsletters and drip campaigns** for SaaS products or creator audiences
- **Managing transactional and marketing email lists** for a startup without paying per-subscriber fees
- **Self-hosting a Mailchimp/ConvertKit replacement** with full data portability

## Configuring Gmail SMTP for listmonk

Gmail can be used as a mail relay. Google requires an **App Password** — your regular Gmail password won't work for SMTP.

**Generate an App Password:**
1. Go to [myaccount.google.com/security](https://myaccount.google.com/security)
2. Enable **2-Step Verification** if not already on
3. Search "App passwords" → Select app: Mail → device: Other → name it `Listmonk`
4. Copy the 16-character password (shown only once)

**SMTP settings (Settings → SMTP in Listmonk):**

| Field | Value |
|-------|-------|
| Host | `smtp.gmail.com` |
| Port | `465` |
| Auth protocol | `LOGIN` |
| Username | `your@gmail.com` |
| Password | *(App Password)* |
| TLS | `SSL/TLS` |
| From address | `your@gmail.com` |

&gt; Gmail limits: 500 emails/day (personal) / 2000/day (Workspace). For larger volumes use SES, Postmark, or Resend.

## Dependencies for listmonk Hosting

- **PostgreSQL** — primary data store for subscribers, lists, campaigns, and analytics
- **SMTP provider** — external mail relay (e.g. Amazon SES, Postmark, SendGrid, Mailgun) for email delivery

### Deployment Dependencies

- [listmonk Documentation](https://listmonk.app/docs/)
- [listmonk GitHub Repository](https://github.com/knadh/listmonk)
- [listmonk Configuration Reference](https://listmonk.app/docs/configuration/)
- [Railway PostgreSQL Plugin](https://docs.railway.com/databases/postgresql)

## Why Deploy listmonk 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 listmonk 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

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/listmonk-2
