---
title: "Deploy Marlo"
description: "marlo — intelligent email for busy people."
category: "Other"
url: https://railway.com/deploy/marlo
---

# Deploy Marlo

marlo — intelligent email for busy people.

**[Deploy Marlo on Railway](https://railway.com/template/marlo)**

- **Creator:** Astro
- **Category:** Other
- **Total deploys:** 9

## Template content

### Web

- **Source:** marlohq/marlo
- **Public domain:** Yes

### 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" --maxmemory-policy noeviction`

### Mail Ingestion

- **Source:** marlohq/marlo
- **Public domain:** Yes

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

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

### Sync

- **Source:** astrotechco/marlo
- **Public domain:** Yes

### PGBouncer

- **Image:** railwayapp/pgbouncer

## Documentation

# Deploy and Host Marlo on Railway

Marlo is an AI-powered email client that intelligently manages your inbox. It integrates with Gmail to provide automated email organization, smart filtering, and AI-assisted responses powered by Google's generative AI models.

## About Hosting Marlo

Marlo runs as a containerized microservice architecture with three core services: a web application (Astro frontend), a WebSocket sync engine, and a mail ingester service for Gmail integration. The deployment requires PostgreSQL for persistent data storage and Redis for caching and job queues. Each service is independently scalable and includes health checks for reliability. You'll need Google Cloud credentials for OAuth authentication, Gmail API access, and generative AI features. Additional optional integrations include Stripe for payments, Sentry for error tracking, and AWS S3 for file storage.

## Common Use Cases

- Personal AI email assistant for intelligent inbox management and automation
- Team email collaboration with real-time sync across devices
- Gmail power users needing advanced filtering and AI-assisted responses

## Dependencies for Marlo Hosting

- PostgreSQL 16 (database)
- Redis 7 (caching and job queues)
- Google Cloud Project (OAuth, Gmail API, Pub/Sub, Generative AI)
- S3-compatible storage (AWS S3 or equivalent)
- Optional: Stripe (payment processing), Sentry (error tracking), Axiom (logging)

### Deployment Dependencies

- [Google Cloud Setup Guide](https://console.cloud.google.com/)
- [Stripe API Documentation](https://stripe.com/docs/api)
- [AWS S3 Documentation](https://docs.aws.amazon.com/s3/)
- [Sentry Error Tracking](https://sentry.io/)


## Why Deploy Marlo 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 Marlo 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) — 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/marlo
