DocumentationArchitecture overview

Architecture overview

How MailingCore fits in your stack — browser SDK, server API, and queues.

MailingCore is a hosted email API — not an MTA you run yourself. Your app calls our API; we handle delivery, tracking, and deliverability.

Three integration surfaces

┌─────────────────┐     ┌──────────────────┐     ┌─────────────────┐
│  Browser / SPA  │────▶│  mailingcore-js  │────▶│  MailingCore API│
│  (contact form) │     │  (SDK)           │     │                 │
└─────────────────┘     └──────────────────┘     └────────┬────────┘
                                                          │
┌─────────────────┐     ┌──────────────────┐              │
│  Your backend   │────▶│  REST + API key  │──────────────┘
│  (Node, PHP…)   │     │  mc_live_/test_  │
└─────────────────┘     └──────────────────┘
                                                          │
┌─────────────────┐                                       ▼
│  Your team      │──── JWT ────▶ Dashboard (templates,     BullMQ queues
│  (operators)    │               domains, analytics)     → SES / SMTP
└─────────────────┘

When to use what

SurfaceAuthBest for
JavaScript SDKAPI key (mc_test_ in browser, mc_live_ server-side)Contact forms, SPA welcome emails
REST APIAPI key + optional X-Tenant-IdBackend integrations, batch, webhooks, campaigns
DashboardJWT sessionTemplate editing, domain setup, analytics

What MailingCore does

What your app does

  • Holds user data and business logic
  • Chooses template + variables
  • Handles webhook callbacks in your CRM
  • Never stores SMTP credentials (MailingCore manages transport)

Next steps