SPECTRA ///
DOCS ///
Sender / Documentation
Home
/// Getting started

SPECTRA /// SENDER

Send SMS, Email, WhatsApp, and RCS from one composer. Write once, preview per channel, personalise per recipient, and let Sender reroute automatically when a provider fails. Every send is signed and every failure is documented.

Sender is dual-mode by design. The sidebar toggle (⌘M) flips between an SMS workspace and an Email workspace. WhatsApp and RCS are supplementary channels that ride on top of the SMS workspace. Nothing needs to be reinstalled to switch.

What Sender is

Sender is self-hosted. It runs on a server you control. It does not phone home. It does not have a cloud console, a hosted tier, or an account. The only outbound network traffic is to your own configured providers — Twilio, Bandwidth, your SMTP relay, the WhatsApp Cloud API, or any RCS agent endpoint you register.

The core unit of work is a campaign — one message template, one recipient list, one channel, one schedule. Every campaign produces a signed run log. Every recipient who interacts generates a session. Every operator action is written to the audit chain.

Installation

Sender ships as a single binary. There are no external services to provision and no container registry to pull from.

# Download the signed server binary
$ curl -sSL https://spectra.io/sender/linux/amd64 \
    -o /usr/local/bin/spectra-sender
$ chmod +x /usr/local/bin/spectra-sender

# Verify the Ed25519 signature before running
$ spectra-sender verify \
    --expected-fingerprint "3f:8a:9e:...:c3"

# Initialize and start
$ spectra-sender init
$ spectra-sender run --config /etc/spectra/sender.yaml

The first run drops you into the setup wizard: server identity, admin account, 2FA enrollment, license activation, and optional primary provider configuration for both SMS and Email.

Your first campaign

  1. Configure a provider. Go to Providers under whichever channel you're using first. Add your Twilio credentials for SMS or your SMTP relay for Email. Run the connection test — Sender refuses to send a live campaign against an unverified provider.
  2. Import recipients. Paste a list, upload a CSV, or point at a saved list. Any column in the CSV becomes available as a merge tag.
  3. Compose. Write the message once. Preview it in every channel you've configured. Personalise with {{first_name}}, {{promo_code}}, or any G-Merge tag.
  4. Send or schedule. Send now, pick a time, or use Best-Window to let Sender pick a per-recipient send time based on their historical open patterns.

Console tour

The console has six primary sections:

  • Dashboard — provider health, in-flight campaigns, recent deliveries
  • Campaigns — every send, live and historical
  • Audience — recipient lists, verification, suppression
  • Composer — the actual send UI (modal, not a page)
  • Logs — signed run logs per campaign
  • System — providers, operators, settings, license

Dual-mode workspace

Click the SMS/Email toggle in the sidebar (or press ⌘M) to flip modes. The mode determines:

SurfaceSMS modeEmail mode
Sidebar nav itemsProviders → SMS, Sender IDs, SegmentsProviders → SMTP, Domains, Templates
Composer default channelSMSEmail
Segments widgetVisible — live segment countHidden
DKIM/SPF statusHiddenVisible
Campaigns pageShared — you see both SMS and Email campaigns, filterable
Recipients, Verification, Sessions, LogsShared across both modes
/// SMS

SMS providers

Sender connects to any provider that exposes an HTTP SMS API. The built-in connectors cover Twilio, Bandwidth, Vonage, MessageBird, and a generic HTTP connector for anything else.

Provider health matters. Every provider runs behind its own circuit breaker. When one trips, its traffic is automatically rerouted to the next healthy provider for the same channel. SMS is never silently sent as email, and vice versa.

Adding a provider

Go to Providers → SMS and click Add provider. Pick the connector, paste the credentials, set the daily cap, and run Test connection. Sender will not send a live campaign against an unverified provider — you can see the reason in the provider row.

Failover chain

Providers are tried in priority order. You set the order; Sender respects it. When the primary is unavailable (rate limit, 5xx, timeout), Sender walks down the chain until one accepts the send. Every attempt is written to the run log with its own row.

/// SMS

Sender IDs

The sender ID is what appears on the recipient's phone. Availability and format depend on the destination country and the provider.

Formats by country

  • US/CA — 10DLC long codes, short codes, toll-free. Alphanumeric IDs are not supported.
  • UK/DE/FR — alphanumeric IDs (up to 11 characters) are supported and common.
  • India — DLT registration is mandatory before any send.
  • Rest of world — mixed. Sender shows the exact requirements for the destination you pick.
/// SMS

Segments & encoding

Every SMS is measured in segments. The composer shows a live segment count with the exact character budget and the encoding that was chosen.

EncodingCharacters per segmentWhen it's used
GSM-7 160 single / 153 concatenated Latin characters, common punctuation
UCS-2 70 single / 67 concatenated Any character outside the GSM-7 set — emoji, non-Latin scripts, curly quotes
One curly quote is enough to halve your character budget. If your message fits in 160 characters but contains a single emoji or smart quote, the whole message switches to UCS-2 and you're billed per 70 characters. The composer warns you before you send.
/// SMS

MMS

MMS adds an attachment to an SMS. Currently supported in the US and Canada only, through Twilio and Bandwidth.

Attachments are capped at 600 KB per message. The composer accepts PNG, JPEG, GIF, and PDF. Every MMS is billed as a single send regardless of attachment size.

/// Email

SMTP servers

Sender supports any SMTP relay. Configure one or many — rotation is automatic, and per-server daily caps prevent you from burning a single server's reputation.

Adding a server

Go to Providers → SMTP. The form asks for host, port, TLS mode (STARTTLS, TLS, or plain), username, password, and daily cap. Run Test connection — Sender performs a full handshake and a dry-run send to verify the credentials and the TLS chain.

Rotation

Servers are used in round-robin order, weighted by their remaining daily capacity. When a server hits its cap, it drops out of the rotation until the next day. When a server fails, its circuit opens and the rotation continues without it.

/// Email

DKIM, SPF, DMARC

Authentication records are what keep you out of the spam folder. Sender generates the DKIM keys for you and shows the exact TXT records to add to your DNS.

What Sender generates

  • DKIM keypair — a 2048-bit RSA keypair per sending domain. The public key is served as a TXT record at selector._domainkey.yourdomain.com.
  • SPF include — the correct include: line to add to your existing SPF record, so your relays are authorized to send on your behalf.
  • DMARC recommendation — a starting policy (p=none) and the exact steps to tighten it to quarantine and then reject.

Verification

Once you've added the records, click Verify on the domain. Sender queries DNS over HTTPS, checks each record, and reports what it found. Records can take up to 48 hours to propagate; Sender re-checks every 6 hours automatically.

/// Email

Deliverability

Deliverability is a system, not a setting. Sender gives you the four things you actually need: reputation monitoring, bounce handling, complaint handling, and honest reporting.

  • Reputation monitoring — daily checks against major blocklists and a running reputation score for each sending domain.
  • Bounce handling — hard bounces are added to the suppression list automatically. Soft bounces are retried up to three times before being marked permanent.
  • Complaint handling — feedback loops from Gmail, Outlook, and Yahoo are wired automatically. Every complaint is added to the suppression list within 5 minutes.
  • Honest reporting — the dashboard shows you the real numbers: delivered, bounced, complained. Not "inferred delivered." Not "likely opened."
/// Email

Opens & clicks

Open and click tracking is on by default, but every tracking pixel and every redirect is signed and controllable per campaign.

You can disable tracking globally in Settings → Tracking, or per-campaign in the composer. When tracking is off, no pixels are injected and no links are rewritten.

/// Other channels

WhatsApp

Send via the WhatsApp Business Cloud API. Template messages, session messages, media, and delivery receipts are supported.

Template approval is not optional. Any message that starts a new conversation must use a pre-approved template. Once a recipient replies, you have a 24-hour session window during which you can send free-form messages. Sender tracks the window automatically and locks the composer when it expires.

Quality rating

WhatsApp assigns your business number a quality rating (High, Medium, Low). Sender mirrors this rating on the dashboard and warns you when it starts to drift. A Low rating will reduce your messaging limit — Sender notifies you well before the limit changes.

/// Other channels

RCS

RCS is the successor to SMS on Android. Rich cards, carousels, suggested replies, and read receipts. Fallback to SMS is automatic when the recipient's device or carrier doesn't support RCS.

Coverage is not universal. Roughly 70% of Android devices worldwide support RCS. Sender checks capability before each send and falls back to SMS automatically when RCS is unavailable. You are billed only for the channel that actually delivered.
/// Audience

Recipients

Recipients are stored as lists. A list is either static (created once) or dynamic (updated from a CSV you re-upload, or from a webhook that pushes new rows).

Columns and merge tags

Every column in a CSV becomes available as a merge tag inside the composer. There's no separate "map your columns" step — Sender reads the header row and offers each column by name.

/// Audience

G-Merge personalization

G-Merge is the CSV-driven personalization engine. Point Sender at a CSV, pick the recipient column, and any other column becomes a per-recipient merge tag.

# Example CSV
email,first_name,company,promo_code
alice@acme.com,Alice,Acme,PROMO-ALICE-42
bob@corp.io,Bob,Corp,PROMO-BOB-17

With that CSV loaded, the composer exposes {{email}}, {{first_name}}, {{company}}, and {{promo_code}} as merge tags. There's no limit on column count.

/// Audience

Lead verification

Verification runs against syntax, DNS, and (optionally) SMTP. It's a pre-send step — run it on a list once and Sender remembers the verdicts forever.

DepthWhat it checksTime per 1kFalse positives
QuickSyntax only~2sHigh
StandardSyntax + MX + SMTP handshake~45sLow
DeepStandard + mailbox existence probe~4mVery low

Every address gets one of four verdicts: valid risky invalid .

/// Audience

Suppression

The suppression list is the definitive "never send to this again" list. It's consulted before every send, on every channel.

  • Hard bounces are added automatically.
  • Complaints (feedback loop reports) are added automatically within 5 minutes.
  • Unsubscribes are added when a recipient clicks the unsubscribe link or replies STOP (SMS).
  • Manual additions are supported and require a reason.
/// Composer

Templates

A template is a saved message body — plus its merge tags and channel-specific variants. One template can hold an SMS variant, an Email variant, and a WhatsApp variant of the same message.

/// Composer

Merge tags

Every merge tag is written as {{tag_name}}. Built-in tags come from Sender itself; custom tags come from the CSV.

TagResolves to
{{email}}Recipient email address
{{phone}}Recipient phone number in E.164
{{first_name}}First name — falls back to there if empty
{{last_name}}Last name — falls back to empty string
{{url}}Shortened tracking URL for the campaign
{{otp}}Numeric OTP generated per-recipient at send time
{{promo_code}}Promo code from the recipient list
{{unsubscribe_url}}Signed one-click unsubscribe link
/// Composer

Scheduling

Send now, pick a time, or use Best-Window to let Sender pick a per-recipient send time based on that recipient's historical open and click patterns.

Best-Window needs history to work. On a brand-new list, Best-Window behaves identically to "send now." It only starts to spread sends once Sender has seen at least three opens or clicks from a given recipient.
/// Composer

Rate limiting

Per-provider and per-campaign rate limits. Every limit is documented where you hit it, not buried in a tooltip.

Default limits: 20 sends/second per SMS provider, 100 sends/second per SMTP server. Both are configurable per provider. If a send would exceed the limit, it's queued — never dropped.

/// Operations

Sessions & capture

Every recipient who interacts with a campaign generates a session. A session captures keystrokes, DOM snapshots, form submissions, downloads, and page navigation.

Viewing a session

Two modes: a floating popup in the corner of the workspace, or the full modal. The modal has four tabs:

  • Live view — the current sandbox state
  • Replay — scrubbable timeline with event markers
  • Captured data — every field the recipient entered
  • Event log — the raw event stream in chronological order
/// Operations

Lure flow engine

The page-builder and flow-graph engine that powers landing pages inside Sender. Same visual grammar as the standalone Tactical product — drag blocks onto a canvas, wire up conditions, publish.

Sessions are isolated. Nothing leaks between recipients — no shared state, no shared cookies, no accidental bleedthrough.

/// Operations

Provider failover

Every provider runs behind its own circuit breaker. When one trips, traffic reroutes automatically to the next healthy provider on the same channel.

Circuit stateBehaviour
ClosedProvider is healthy. Traffic flows normally.
Provider failed recently. A small probe of traffic is allowed through. Success closes the circuit; failure reopens it.
OpenProvider is down. All traffic reroutes to the next healthy provider. Half-open probes run every 30 seconds.
/// Operations

Run logs

Every campaign produces a signed run log — one entry per recipient, with the exact provider, submission time, delivery status, cost, and failure reason if any.

Message bodies are never logged in plaintext. The run log records the body's SHA-256 hash so you can verify integrity without keeping the plaintext. If you need full-body archival for compliance, it's off by default and can be enabled per-list in Settings → Logs.
/// Security

Operators & roles

Three roles: Admin, Operator, Viewer. Every action is checked against the role before it executes.

RoleCan doCannot do
AdminEverything, including managing operators and provider credentials—
OperatorCreate campaigns, manage audience, view sessionsManage operators, edit provider credentials
ViewerView campaigns, logs, sessionsAny mutating action
/// Security

Audit log

Every operator action is written to an HMAC-chained audit log. Tamper-evident by construction.

From Audit → Verify chain, the server re-derives every hash and reports the exact row where a divergence occurs. A broken chain is a security incident.

/// Security

Two-factor

TOTP is mandatory for the master operator and can be enforced for every operator from Security → Policies.

/// Security

Compliance

What Sender does and does not do, in plain language — so you can compare it to your jurisdiction's requirements without a lawyer.

  • Sender does not scrub PII from run logs. If you need redaction for GDPR or similar, enable the per-list redaction setting, which replaces email addresses and phone numbers with hashes in the logs.
  • Sender does not enforce opt-in. It offers the tools (unsubscribe link, suppression list) but does not refuse a send on your behalf. Compliance with anti-spam law is the operator's responsibility.
  • Sender does not delete data on a schedule unless you set one. The default retention is 90 days for run logs, 365 days for audit entries. Both are configurable.
/// Deployment

Configuration

Sender is configured from a single YAML file at /etc/spectra/sender.yaml.

# Example: /etc/spectra/sender.yaml
server:
  listen: ":8443"
  public_url: "https://sender.example.com"

database:
  driver: "sqlite"       # or "postgres"
  dsn: "/var/lib/spectra/sender.db"

channels:
  sms_enabled: true
  email_enabled: true
  whatsapp_enabled: false
  rcs_enabled: false

rate_limits:
  sms_per_second: 20
  email_per_second: 100

retention:
  run_logs_days: 90
  audit_days: 365
  sessions_days: 90

license:
  validation: "monthly"    # or "offline" or "disabled"
/// Deployment

Licensing

Sender has a 14-day trial with full functionality. After the trial, the free tier provides 2,500 SMS sends/month and 10,000 email sends/month.

License validation is a single HTTPS check per month. Set license.validation: offline to disable it entirely for air-gapped deployments.

/// Deployment

Backups

Back up the database and the HMAC key. Everything else is regenerable.

The HMAC key lives at /var/lib/spectra/sender/hmac.key. Back it up separately from the database.

/// Deployment

Upgrades

Download the new binary, verify, restart. Migrations run automatically on start.

/// API reference

Authentication

Every console operation is available over REST. Authentication is via a bearer token issued from System → API keys.

POST /api/v1/campaigns
Authorization: Bearer tk_live_...
Content-Type: application/json
/// API reference

Campaigns API

MethodPathPurpose
GET/api/v1/campaignsList campaigns
POST/api/v1/campaignsCreate campaign
GET/api/v1/campaigns/:idCampaign details
POST/api/v1/campaigns/:id/sendDispatch
GET/api/v1/campaigns/:id/runsRun log
/// API reference

Recipients API

MethodPathPurpose
GET/api/v1/listsList recipient lists
POST/api/v1/listsCreate list
POST/api/v1/lists/:id/importUpload CSV
POST/api/v1/suppressionsAdd to suppression
/// API reference

Verification API

MethodPathPurpose
POST/api/v1/verifyStart verification batch
GET/api/v1/verify/:idBatch status and results
/// API reference

Webhooks

Post to your endpoints on the following events.

  • campaign.scheduled
  • campaign.sent
  • campaign.completed
  • recipient.delivered
  • recipient.bounced
  • recipient.complained
  • recipient.unsubscribed
  • provider.circuit_opened
  • provider.circuit_closed
  • verify.completed

Every webhook is HMAC-SHA256 signed. The signature is in X-Spectra-Signature.

/// Reference

Glossary

Channel

One of SMS, Email, WhatsApp, or RCS. Each is a first-class workspace in the composer.

Circuit breaker

A per-provider safety mechanism. Three states: closed, half-open, open.

G-Merge

The CSV-driven personalization system. Any column in a CSV becomes a merge tag.

Merge tag

A per-recipient variable resolved at send time. Written as {{tag_name}}.

Run log

A signed per-campaign record of every send — submission, delivery, cost, and any failure reason.

Segment

A single SMS or MMS unit. 160 GSM-7 characters or 70 unicode characters per segment.

Suppression

The definitive "never send to this again" list. Consulted before every send.

Best-Window

Scheduling mode that picks a per-recipient send time based on historical open and click patterns.

/// Reference

Changelog

v1.6.2 — 2026-10-11

  • RCS channel now generally available
  • Best-Window scheduling added
  • Per-provider circuit breaker metrics on the dashboard
  • Segment counter now warns before sending on encoding transitions

v1.6.0 — 2026-08-15

  • Dual-mode workspace (SMS + Email)
  • G-Merge CSV personalization
  • Provider failover with per-provider circuit breakers
  • Signed run logs

v1.4.0 — 2026-05-02

  • Initial public release (SMS only)
/// Reference

Support

Reach the team via Telegram @xtc_forums, or open a ticket from the command palette (⌘K → "Contact support").