Deploy Marlo
marlo — intelligent email for busy people.
Web
marlohq/marlo
Just deployed
Redis
redis:8.2.1
Just deployed
/data
Mail Ingestion
marlohq/marlo
Just deployed
Postgres
railwayapp-templates/postgres-ssl:17
Just deployed
/var/lib/postgresql/data
Sync
astrotechco/marlo
Just deployed
PGBouncer
railwayapp/pgbouncer
Just deployed
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
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.
Template Content
SENTRY_DSN
Sentry DSN (Data Source Name) to use. If omitted, Sentry will be disabled.
AUTH_SECRET
Secret for authentication sessions
BUCKET_NAME
Name of the S3 bucket
GOOGLE_CLIENT_ID
Google OAuth client ID
SYNC_AUTH_SECRET
Shared secret with sync server
AWS_ACCESS_KEY_ID
AWS access key for S3 bucket access
SENTRY_CLIENT_DSN
Sentry DSN (Data Source Name) to use on the client. If omitted, Sentry will be disabled.
GOOGLE_GMAIL_TOPIC
Google Pub/Sub topic for Gmail notifications
PUBLIC_BACKEND_URL
Backend URL, for ex: https://marlo.example.com
GOOGLE_CLIENT_SECRET
Google OAuth client secret
OAUTH_ENCRYPTION_KEY
Encryption key for OAuth tokens
AWS_SECRET_ACCESS_KEY
AWS secret key for S3 bucket access
PUBLIC_LOGIN_BASE_URL
Base login URL, for ex: https://marlo.example.com
PUBLIC_SYNC_ENGINE_URL
Sync engine web socket address, for ex: wss://marlo-sync.example.com
GOOGLE_GENERATIVE_AI_API_KEY
Google Generative AI API key
Redis
redis:8.2.1Mail Ingestion
marlohq/marloBUCKET_NAME
AWS_ACCESS_KEY_ID
OAUTH_ENCRYPTION_KEY
AWS_SECRET_ACCESS_KEY
GOOGLE_SERVICE_ACCOUNT
Google service account
SENTRY_DSN
Sentry DSN (Data Source Name) to use. If omitted, Sentry will be disabled.
SYNC_AUTH_SECRET
Random string that serves as a secret in auth key signing.
PGBouncer
railwayapp/pgbouncer