MailForge Documentation

Everything you need to send transactional and batch emails with confidence.

Overview

MailForge is an open-source SMTP relay API built for developers. It provides high deliverability, real-time analytics, and automatic DNS configuration (DKIM, SPF, DMARC) out of the box.

Key Features

  • -RESTful API with SDKs for Node.js, Python, Go, and Ruby
  • -Automatic DKIM, SPF, and DMARC configuration
  • -Real-time webhook events for delivery tracking
  • -Per-email analytics: opens, clicks, bounces, complaints
  • -Dedicated IPs and warm-up assistance on paid plans
  • -Self-hostable on any VPS (Hetzner, DigitalOcean, AWS)

Base URL

https://api.mailstack.io/v1

Authentication

All API requests require a Bearer token in the Authorization header. Create API keys in your dashboard.