Self-hosted disposable email service.
Generate temporary email addresses instantly. No sign-up. No tracking. Auto-expiring.
Documentation · Features · Quick Start · License
docker compose up to run the entire stackPull and run directly from GitHub Container Registry:
# Create a docker-compose.yml
curl -fsSL https://raw.githubusercontent.com/DreamsHive/cloakmail/main/docker-compose.yml -o docker-compose.yml
# Set your domain
export DOMAIN=yourdomain.com
# Start all services
docker compose up -d
Or use the GHCR images directly:
docker pull ghcr.io/dreamshive/cloakmail-server:latest
docker pull ghcr.io/dreamshive/cloakmail-web:latest
The web UI will be available at http://localhost:5173 and the API at http://localhost:3000.
| Variable | Default | Description |
|---|---|---|
DOMAIN |
localhost |
Email domain for receiving mail |
APP_NAME |
CloakMail |
App name displayed in the UI |
EMAIL_TTL_SECONDS |
86400 |
Time before emails auto-delete |
SMTP_PORT |
25 |
SMTP server port |
API_PORT |
3000 |
REST API port |
See .env.example for all available options.
For full setup guides, API reference, and deployment instructions, visit the official documentation at docs.cloakmail.dev.
This project is licensed under the MIT License.