The client area & Send API
Every active ImpulseMail service gets a white-labeled transactional email console inside the WHMCS client area organized into 6 top-level tabs with focused sub-tabs:
- Overview — sending status, onboarding checklist, monthly quota & 30-day chart, one-click test send, and copyable API/SMTP endpoints (
587,2525,8025,8465STARTTLS and465SSL/TLS). - Domains — Domains & DNS (Unified Domain DNS Hub, 1-click Domain Connect, DMARC aggregate reports, domain quota meter) and Brand Logo (BIMI).
- Activity — Messages (event feed, scheduled queue, message preview & resend) and Suppressions.
- Developers — API & SMTP (credentials), Templates, and Webhooks (outbound webhooks & inbound email parsing).
- Settings — General (From name, timezone, tracking), Security, and Maintenance.
- Help — Help & Docs (interactive code examples & API reference) and Migrate Provider (guided zero-downtime ESP migration assistant).
1. Overview & quick test send
Section titled “1. Overview & quick test send”The Overview tab displays the service’s current sending status and risk badge (Sandbox, Review, or Approved · Production), a collapsible three-step onboarding checklist, live monthly quota progress (Sent, Delivered %, Bounced %, Complained %), a one-click Send a test email tool to the account owner’s address, and copyable SMTP (587, 2525, 8025, 8465 STARTTLS and 465 SSL/TLS on connect) and HTTP API endpoints.

2. Domains, 1-click Domain Connect, List-Unsubscribe & self-service DKIM rotation
Section titled “2. Domains, 1-click Domain Connect, List-Unsubscribe & self-service DKIM rotation”Under Domains → Domains & DNS, customers see their live domain quota meter, add sending domains (guarded against restricted domains and verified-elsewhere duplicates), and verify DNS ownership using a compact copy-ready DNS table with full and short host names (so providers that auto-append the domain name never double it):
- Ownership TXT (
_impulsemail-verify.<domain>) — proves domain ownership before activation - DKIM CNAME (
im._domainkey.<domain>→ operator DKIM target) - Bounce Return-Path CNAME (
imbounces.<domain>→rp-<server_uid>.<mail_base_domain>) - SPF & DMARC TXT recommendations (
include:spf.<mail_base_domain>and_dmarc.<domain>)
When automated DNS setup is available, customers can skip manual record entry:
- 1-click Domain Connect (no API keys required) — when you complete the one-time Domain Connect setup, ImpulseMail automatically queries
_domainconnect.<domain>for each customer domain. Whenever the customer’s DNS provider (GoDaddy, Cloudflare, IONOS, Porkbun, Squarespace, Name.com, Hostinger, or WordPress.com) supports your synced template, a 1-click Connect button appears. Clicking it opens a signed RSA-2048 Domain Connect consent prompt at the customer’s DNS host to publish DKIM, Return-Path, and optional DMARC records automatically and redirects back to WHMCS. - Synced DMARC policy picker & live verification status — customers can choose their desired DMARC policy (Monitor
p=none, Quarantinep=quarantine, or Rejectp=reject) right on the DNS setup screen. Switching the policy stays synced in real time across the server-signed Connect & add DMARC Domain Connect button, the WHMCS Managed Registrar and provider API auto-setup forms (which protect existing_dmarcrecords by default unless Update existing DMARC is checked), the manual DMARCTXTvalue and copy button, and the collapsible BIND zone file snippet. Once_dmarc.<domain>is published in live DNS, the row flips fromOptionalto greenVerifiedand displays the active policy pill (p=none (monitor)with upgrade guidance, or greenp=quarantine/p=rejectwhen enforced). - 1-click provider API & WHMCS registrar setup (Unified Domain DNS Hub) — right at the top of Domains → DNS setup, customers check which capabilities they intend to use on that domain (Outbound Sending & DMARC, Brand Logo BIMI, Custom Tracking Domain CNAME, and Inbound Email Parsing MX 10). All selected records appear together in a single DNS table (with live verification badges and a Short/Full host toggle) and are published in one single click via a DNS-capable WHMCS registrar or an ephemeral one-time token for Cloudflare, Porkbun, DigitalOcean DNS, or Hetzner DNS (never stored or logged) — or copied together as a single BIND zone snippet. Brand Logo (BIMI), Settings (Tracking), and Webhooks (Inbound) link directly back into this unified DNS hub so customers never have to duplicate DNS tokens across tabs.
Every verified domain also provides two production deliverability controls:
- Per-domain
List-Unsubscribeheader mode (off,mailto, oroneclick) — injects RFC 2369 / RFC 8058List-UnsubscribeandList-Unsubscribe-Post: List-Unsubscribe=One-Clickheaders automatically to meet Gmail and Yahoo bulk-sender requirements. - Self-service Rotate DKIM key — generates a fresh DKIM keypair on the mail server and updates the operator’s configured DNS provider’s DKIM target TXT record in place. Because the customer’s
im._domainkeyrecord is a CNAME pointing to your DKIM target, key rotation completes with zero customer DNS changes. - Built-in DMARC aggregate (
rua) reports viewer — every mail server accepts daily RFC 7489 DMARC XML,.xml.gz, and.zipreports sent todmarc@rp-<server_uid>.<mail_base_domain>, parses them safely (with strict 2 MiB decompression and XML entity guards), and displays DMARC/DKIM/SPF pass rates, reporting mailbox providers, and top sending source IPs directly in the Domains tab (and viaGET /v1/dmarc/reports).


3. SMTP & API credentials (scoping, IP allowlisting & security architecture)
Section titled “3. SMTP & API credentials (scoping, IP allowlisting & security architecture)”Under Credentials, customers mint scoped SMTP credentials and HTTP API keys behind WHMCS account password step-up:
- Revealed once — raw secrets are shown a single time on creation; WHMCS stores only metadata, key prefixes, and restriction labels, while mail servers store only SHA-256 hashes.
- Clean & custom SMTP usernames + inline Rename (Change username) drawer — new SMTP credentials default to clean domain-based usernames (
smtp@<domain>or<label>@<domain>) or an opaqueim_smtp_<hex>identifier, and customers can optionally enter a custom SMTP username inside the tabbed SMTP credential | API key creator. Existing SMTP rows include a flush-aligned Rename button that opens a full-width inline drawer to change username behind WHMCS account password step-up: ImpulseMail performs an overlap-safe mint-before-revoke swap on the mail server so active mail delivery is not interrupted while preserving existing domain and IP restrictions. - Permission scopes (
sendvs.full) —sendkeys can only call/v1/sendand/v1/send/batch;fullkeys also access domains, suppressions, and event queries. - Domain-scoped credentials (
allowed_domains) — optionally restrict an API key or SMTP credential to one or more specific verified domains on the service (for examplebilling.acme.example), enforced across both the HTTP gateway (403 domain_not_allowed_for_credential) and SMTP submission (550atMAIL FROMandFromheader) so a compromised microservice key cannot send from unrelated company domains. - Per-credential IP / CIDR allowlisting (
allowed_ips) — optionally lock an API key or SMTP credential to up to 25 IPv4/IPv6 addresses or CIDR blocks (such as203.0.113.10, 198.51.100.0/24, 2001:db8::/32). Requests from any unlisted source IP are rejected immediately on every authenticated HTTP API route (403 ip_not_allowed, using the real peer address behind nginx soX-Forwarded-Forcannot be spoofed) and during SMTPAUTH(with dual-stack IPv4-mapped IPv6 unwrapping). Leave the field blank to allow any IP.

How credentials & sending work (operator security architecture)
Section titled “How credentials & sending work (operator security architecture)”When you run ImpulseMail as a standalone WHMCS operator, WHMCS acts strictly as the control plane and stays completely outside the sending data plane:
- Minting (WHMCS → Mail Server Admin Proxy): After verifying the customer’s WHMCS account password, WHMCS calls
POST /admin/v1/credential/createon the tenant’s assigned mail server over SPKI-pinned TLS on port9098(firewall-restricted to your WHMCS server IP(s)). - Hash-only storage on the mail server: The Admin Proxy generates the cryptographically random secret (
imk_...or SMTP password) in memory, passes only its SHA-256 hash to the local control broker, and writes/etc/impulsemail/tenants/t_<service_id>/credentials/c_<id>.json(0640) alongside an atomically rebuilt O(1) lookup index at/etc/impulsemail/tenants/.cred-index.json. No plaintext customer secret is ever written to disk on the mail server. - Metadata-only storage in WHMCS: The Admin Proxy returns the raw secret to WHMCS once so the client area can display it in the one-time reveal card. WHMCS’s
mod_impulsemail_credentialstable records only metadata (kind,scope,username,key_prefix,label,allowed_domains,allowed_ips, and thebox_credential_idrevoke handle) — zero plaintext customer-minted API keys or SMTP passwords are stored in the WHMCS database. - Direct sending (Customer App → Mail Server): When the customer’s application sends via
POST https://<gateway>/v1/send(Bearer token) or SMTP (:587STARTTLS /:465TLS), traffic goes straight to the mail server. The HTTP gateway and SMTP engine hash the presented credential with SHA-256 and verify it in O(1) time against.cred-index.json, enforcingscope,allowed_domains, andallowed_ipslocally. Because WHMCS is not in the sending path, customer email continues delivering uninterrupted even during WHMCS maintenance or upgrades. - Instant revocation: Revoking a credential in the client area (requiring typed
REVOKEconfirmation) calls the mail server to deletec_<id>.jsonand atomically rebuild.cred-index.json. Both HTTP API and SMTP reject the revoked credential immediately.
4. Stored email templates (/v1/templates)
Section titled “4. Stored email templates (/v1/templates)”Under Templates, customers create, update, inspect, and delete reusable server-side email templates (up to 50 templates per service, 256 KB max each):
- Safe Mustache placeholders — use
{{variable}}(including dotted paths like{{user.name}}) for automatically HTML-escaped values in HTML bodies, or{{{raw_html}}}when inserting trusted HTML fragments. - Send by slug — pass
template_idandtemplate_varstoPOST /v1/sendorPOST /v1/send/batchto render subject, HTML, and plain-text bodies server-side. - Programmatic CRUD — Full-scope API keys can also manage templates via
GET /v1/templates,GET /v1/templates/{slug},POST /v1/templates, andDELETE /v1/templates/{slug}.

5. HTTP Send API (/v1/send, /v1/send/batch, streams, scheduled sending & tracking)
Section titled “5. HTTP Send API (/v1/send, /v1/send/batch, streams, scheduled sending & tracking)”The API & Help tab is organized into five instant sub-panes (Quick Start, Code Examples, Send API, Events & Management API, and Deliverability & FAQ) with an interactive language and framework switcher (cURL, Node.js, PHP, Python, Go, Webhook HMAC, WordPress, Laravel):
- Single send (
POST /v1/send) — acceptsfrom,to(string or array), optionalcc,bcc,reply_to,subject,text,html,template_id+template_vars, custom headers, optionalIdempotency-Key, and validatedattachments(base64-encoded files with filename/content-type/size checks and dangerous executable/script extension blocking). - Batch send (
POST /v1/send/batch) — submit up to 50 messages per HTTP call in amessagesarray, returning per-item acceptance/rejection status and supporting per-messageidempotency_keyvalues. - Separate message streams (
stream) — choose"transactional"(default; stampsAuto-Submitted: auto-generated) or"broadcast"(omitsAuto-Submitted, auto-injectsList-Unsubscribe, and tagsFeedback-IDandX-Impulse-Stream: broadcast— also honored over SMTP via theX-Impulse-Stream: broadcastheader). - Scheduled sending (
send_at) — pass an ISO-8601 UTC timestamp or Unix epoch between 60 seconds and 72 hours in the future. Messages are validated upfront, staged safely on-box, visible underGET /v1/scheduled(and in Activity), cancellable prior to dispatch viaDELETE /v1/messages/{message_uid}/schedule, and re-checked against tenant fences, pauses, and suppressions at dispatch time. - Opt-in open & click tracking (
track_opens,track_clicks) — off by default for recipient privacy. Enable service-wide defaults under Settings → Open & click tracking (with an optional customtracking_domainCNAME pointing to your gateway host) or override per message. Tracking applies to single-recipient HTML emails only, uses HMAC-signed stateless tokens (/t/o/{token}.gifand/t/c/{token}), skipsdata-no-track,mailto:, and/u/links, and recordsopenedandclickedevents into Activity and webhooks. - Standard rate-limit headers — every send response includes
RateLimit-Limit,RateLimit-Remaining, andRateLimit-Resetheaders (plusRetry-Afteron429throttling) so SDKs and queue workers can back off cleanly.
POST https://send.mail-dfw-1.example.com/v1/sendAuthorization: Bearer YOUR_API_KEYContent-Type: application/jsonIdempotency-Key: welcome-1042
{ "template_id": "welcome-onboarding", "template_vars": { "company": "Acme", "user": { "name": "Alice" }, "cta_url": "https://app.acme.example/start" }, "stream": "transactional", "send_at": "2026-12-01T15:00:00Z", "track_opens": true, "track_clicks": true}
6. Activity feed, scheduled queue, message preview & resend
Section titled “6. Activity feed, scheduled queue, message preview & resend”Under Activity, customers manage pending scheduled sends (with one-click Cancel), filter recent events by type (Delivered, Opened, Clicked, Scheduled, Bounced, Complaints, Deferred, Suppressed, Rejected, Inbound), exact recipient address, or date range, and export CSVs behind account password verification.
Clicking View (imail_msg=<uid>) opens the full lifecycle timeline for a message. When content retention is enabled on the customer’s plan, the timeline also offers:
- Preview message — behind WHMCS account password step-up, decrypts and renders the escaped headers, plain-text body, and collapsible HTML source.
- Resend message — re-queues the retained message with a fresh
message_uid,Date, andMessage-IDafter re-checking suppressions (also available programmatically viaPOST /v1/messages/{message_uid}/resendwith a Full-scope key).

7. Suppressions, webhooks & inbound email parsing
Section titled “7. Suppressions, webhooks & inbound email parsing”- Suppressions — automatically records hard bounces, spam complaints, one-click unsubscribes, and escalated soft bounces (after repeated multi-day deferrals) so future sends to dead addresses are blocked before touching remote MX servers. Customers can search, add manual suppressions, import CSV lists, or explicitly release entries (hard-bounce releases require confirmation).
- Outbound webhooks — customers configure HTTPS endpoints for real-time
delivered,bounced,complained,suppressed,opened,clicked,scheduled, andcancelledevents with HMAC-SHA256 signing secrets (X-Impulse-Timestamp+X-Impulse-Signature), SSRF protection (HTTPS + public IPs only), delivery health tracking, and a Send test button. - Inbound email parsing — under Webhooks → Inbound email parsing, customers dedicate a subdomain (such as
inbound.acme.example), publish the copyableMX 10record pointing to their mail server, and enter a public HTTPS webhook URL. Incoming mail on port:25for that domain is parsed into a normalized JSON payload (from,to,cc,subject,message_id,in_reply_to,text,html, and safe base64 attachments up to 5 MB total, automatically skipping dangerous executable extensions) and delivered via the same SSRF-guarded, HMAC-SHA256 signed webhook dispatcher (X-Impulse-Event: inbound).

8. BIMI (Brand Logo)
Section titled “8. BIMI (Brand Logo)”Under Domains → Brand Logo (BIMI), customers get a dedicated three-tier self-service workspace to display their verified brand logo next to authenticated emails in Gmail, Apple Mail, Yahoo, and Fastmail:
- Live 4-gate BIMI readiness dashboard & provider matrix — switches across all sending domains on the service, evaluates four live checks (
0–100%score: enforced DMARCp=quarantine/p=rejectat100%, publisheddefault._bimi.<domain>TXT record, hosted SVG Tiny PS logo compliance, and Mark Certificate VMC/CMC status), and shows real-time eligibility across Gmail, Gmail Blue Checkmark, Apple Mail, and Yahoo & Fastmail. - Hosted BIMI Assets & SVG Tiny PS Auto-Sanitizer — customers can upload (or paste) any
.svglogo and optional VMC/CMC.pemcertificate directly in the Brand Logo (BIMI) tab. ImpulseMail rejects XXE declarations, automatically strips disallowed scripts/events/external references/comments, injectsversion="1.2",baseProfile="tiny-ps",viewBox, and<title>, verifies the<= 32 KBlimit and X.509 expiry, and hosts both assets over HTTPS directly on the tenant’s mail gateway (https://<gateway>/t/bimi/<tenant>/<domain_uid>/logo.svg&cert.pemwith strictimage/svg+xml,X-Content-Type-Options: nosniff, and SVGContent-Security-Policysandbox headers). Hosted URLs automatically pre-fill the DNS record builder below. - BIMI TXT preview, live asset validator & one-click jump to Domain DNS Hub — live-updates copyable Short host (
default._bimi), Full host (default._bimi.<domain>), andv=BIMI1; l=...; a=...;TXT values. Clicking Validate SVG & Certificate URLs performs an SSRF-hardened live HTTPS fetch before DNS publishing, and Publish in Domain DNS Hub jumps straight to Domains → DNS setup with BIMI pre-selected (automatically recommending enforced DMARCp=quarantine/p=reject) to publish all records in one pass. - Mark Certificate guide & operator upsell CTA — compares VMC (trademark required, unlocks Gmail + Blue Checkmark + Apple Mail), CMC (prior-use logo, unlocks Gmail without the blue checkmark), and free Apple Business Connect, and displays an optional Order VMC / CMC Certificate button linking either to a WHMCS Product/Addon (
cart.php?...) or an external partner URL configured by the operator under Admin → Deliverability → BIMI.

9. Guided Provider Migration Assistant (Help → Migrate Provider)
Section titled “9. Guided Provider Migration Assistant (Help → Migrate Provider)”Under Help → Migrate Provider (and linked contextually whenever a customer adds a sending domain under Domains), ImpulseMail guides customers through a zero-downtime migration from SMTP2GO, SendGrid, Postmark, Mailgun, Amazon SES, Resend, Brevo, or any other SMTP/API provider:
- Live DNS scan: inspects the customer’s existing
SPFandDMARCrecords read-only, identifies current ESP includes, highlights corporate mail includes to preserve (such as Microsoft 365 or Google Workspace), counts SPF DNS lookups, and confirms zero-downtime dual-run safety. - Add & verify domain side-by-side: verifies ImpulseMail DKIM and Return-Path alongside the legacy provider before any app traffic moves.
- Import suppressions (CSV/TXT or one-time API pull): drag-and-drop or paste CSV/TSV/plain-text suppression exports (auto-detecting columns across major ESPs, deduplicating, up to 2,000 addresses per batch), or run a one-time ephemeral API pull directly from SMTP2GO, SendGrid, or Postmark (pinned vendor endpoints; the legacy API key is used once in memory and never stored or logged) to prevent Day-1 bounce spikes.
- Side-by-side SMTP & HTTP API swap: displays the exact old-vs-new SMTP host, ports (
587, 2525, 8025, 8465STARTTLS and465SSL/TLS on connect), username, and HTTP Send API endpoint/header mapping alongside an inline Send a test email verification control.
