DEV Community

Cover image for 🚀 Introducing Histeria Mailer: Transactional Email Infrastructure Without the Complexity
catalos ecommerce
catalos ecommerce

Posted on

🚀 Introducing Histeria Mailer: Transactional Email Infrastructure Without the Complexity

🚀 Introducing Histeria Mailer

Send transactional email without the complexity.

If you've ever built a SaaS app, ecommerce store, or mobile backend, you know the frustration: traditional email marketing platforms (like Mailchimp or newsletter suites) are bloated with marketing campaign tools you don't need when all you want is a fast, reliable API for application emails.

Enter Histeria Mailer (Histeria) — clean transactional email infrastructure built specifically for developers and modern applications.


💡 What makes Histeria Mailer different?

Histeria Mailer focuses strictly on transactional application email — order confirmations, password resets, OTP verification codes, payment alerts, and account notifications.

1. One Simple REST API

Trigger application emails in milliseconds using standard HTTP requests:

curl -X POST https://api.histeria.dev/v1/emails/send \
  -H "x-api-key: ck_live_secret_key_123" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "order-confirmation",
    "to": "customer@example.com",
    "data": {
      "customerName": "Alex",
      "orderNumber": "ORD-9812",
      "total": "₹1,249"
    }
  }'
Enter fullscreen mode Exit fullscreen mode

2. Dual Template Builders (Visual + HTML Code)

Build once, send everywhere. Histeria Mailer gives you two template workflows:

  • Visual Drag & Drop Builder: Position text blocks, buttons, images, and container layouts visually.
  • HTML Code Editor: Full developer control over custom CSS, responsive tables, and dynamic variables {{customerName}}.

Both workflows compile into clean Histeria Templates ready to be triggered by templateId or slug.


🔄 Delivery Pipeline Flow

Your Application
       │
       │  POST /v1/emails/send
       ▼
 ┌─────────────┐
 │ HISTERIA    │ ───► Template Rendering & Queue
 └─────────────┘
       │
       ▼
 ┌─────────────┐
 │ RECIPIENT   │ ───► Delivered • Opened • Clicked
 └─────────────┘
Enter fullscreen mode Exit fullscreen mode

🛠️ Key Capabilities

  • 🔐 Organization API Keys: Create, name, set optional expiration, and instantly revoke API keys (x-api-key).
  • SMTP Protocol Support: Keep your existing Nodemailer, PHPMailer, Rails, or Django setup. Route emails via Histeria SMTP relay without rewriting code.
  • 📌 Safe Template Versioning: Maintain immutable version history (v1, v2, v3 Current). Test draft versions safely without breaking production.
  • 📊 Step-by-step Email Timeline: Inspect every individual email record (QUEUEDPROCESSINGSENTDELIVEREDOPENEDCLICKED).


💻 Quick Code Example (Node.js / Fetch)

const response = await fetch('https://api.histeria.dev/v1/emails/send', {
  method: 'POST',
  headers: {
    'x-api-key': process.env.HISTERIA_API_KEY,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    templateId: 'welcome-email',
    to: 'user@example.com',
    data: {
      customerName: 'Sarah',
      loginUrl: 'https://app.example.com/login'
    }
  })
});

const data = await response.json();
console.log(data.id, data.status); // e.g. "email_98ab71c2", "QUEUED"
Enter fullscreen mode Exit fullscreen mode

🌐 Try Histeria Mailer Today!

Histeria Mailer is ready for developers, SaaS products, ecommerce platforms, fintech apps, and mobile backends.

Have feedback, questions, or ideas? Drop a comment below! 👇

Top comments (1)

Collapse
 
catalos_ecommerce profile image
catalos ecommerce

Have feedback, questions, or ideas? Drop a comment below