Skip to content
ThorMail

Introduction

ThorMail is a message delivery orchestrator designed to be the intelligent bridge between your application and any delivery adapter.

ThorMail is much more than a simple email service. It acts as an ultra-efficient, reliable, and intelligent relay that manages the “last mile” of delivery through your chosen providers.

While email is the primary focus, ThorMail’s architecture supports any type of information to anywhere:

Email

Transactional, marketing, and notification emails via any adapter

SMS

Text messages via SMS gateways like Twilio or Vonage

Webhooks

Real-time data to third-party APIs and services

Push Notifications

Mobile and web push notifications via Firebase, OneSignal, etc.

The secret is ThorMail’s modular adapter system. Each adapter defines what it sends and where.

Most messaging services trap you in their ecosystem. If they raise prices, ban your account, or suffer an outage, you are forced to rewrite your application code to switch providers.

ThorMail shatters this model.

  • Switch Instantly: Move from AWS SES to SendGrid, or to your own SMTP server, by simply changing a configuration setting—zero code changes required.
  • Own Your Logic: Your routing rules, templates, and logs live in your infrastructure, not in a provider’s black box.
  • Leverage Pricing: When you can switch providers in seconds, you have the power to route traffic to the most cost-effective provider for every message.
  • Ultra-Fast Asynchronous API: Responses in milliseconds; processing happens in the background
  • Batch Processing: Send 500 emails in a single HTTP request
  • Concurrent Workers: Scale vertically or horizontally with multiple workers processing thousands of messages per second

Configure multiple adapters with different priorities (0-100):

  1. High Priority (100): Your premium adapter (dedicated IP service)
  2. Medium Priority (80): Your economical adapter (cloud-based email)
  3. Low Priority (50): Backup SMTP server

If an adapter fails or hits rate limits, ThorMail instantly switches to the next one.

  • Use official and community adapters (SMTP, SendGrid, Webhooks, etc.)
  • Install community adapters from NPM
  • Create your own custom adapters
  • GDPR Compliant: Full control over data storage and retention
  • No Tracking by Default: Privacy-first approach
  • Credential Encryption: API keys stored encrypted on YOUR infrastructure
  • Self-Hosted: Your data never leaves your servers
Use CaseBenefits
Personal ProjectsFree tier, scales without code changes
StartupsMulti-provider reliability, cost optimization
EnterpriseMillions of daily messages, geo-distribution, compliance

Ready to get started? Continue to the Installation Guide.