FormRoute by FNB Solutions: Transactional Form‑to‑Email Delivery at Scale

•By FNB Solutions Engineering Team

TL;DR FormRoute is a transactional form-to-email service. It accepts website form submissions and delivers them via Amazon SES, with per-site isolation so one misbehaving form cannot affect another. It exists to replace marketing email platforms for contact forms at lower cost and lower operational risk.

This article describes the architecture and design constraints behind FormRoute, FNB Solutions’ form-to-email delivery service.

FormRoute exists to handle a narrow problem: reliably delivering website form submissions to email inboxes. It is built for transactional use cases such as contact forms, inquiries, and signups.


Business Context

Website contact forms are simple.

Most sites receive very little form traffic. Often only a few submissions per day. The requirement is straightforward: accept a submission and deliver it to an inbox reliably.

Despite this, form delivery is usually implemented using whatever email platform is already in place. That often means a marketing-oriented service such as SendGrid or Brevo, even when no marketing features are needed.

Over time, this creates unnecessary overhead. These platforms are built around subscriber lists, campaigns, analytics, and automation; none of which are relevant to basic form delivery. The result is higher cost, more configuration surface area, and shared infrastructure that was not designed for this use case.

Shared accounts and API keys are especially common in agency setups. While convenient, this couples unrelated sites together. A single misconfigured or abused form can affect sending reputation for all others, with little visibility into which site caused the problem.

FormRoute exists to handle this narrow use case directly. It provides a dedicated path from form submission to email delivery, without marketing features, shared reputation, or unnecessary complexity.


Problem Statement

Most websites do not need a full email platform. They need a reliable way to deliver form submissions to an inbox.

Contact forms and similar endpoints are transactional and low-volume. Despite this, they are commonly implemented using marketing email services built for campaigns, automation, and subscriber management.

In practice, this often means:

  • One shared SendGrid or Brevo account
  • A single API key reused across many sites
  • Shared sender domains and IP reputation
  • Limited abuse controls at the form level

This setup is convenient, but it couples unrelated sites together. A single misconfigured or abused form can affect deliverability for every site using the same account.

For agencies managing many low-traffic client sites, the impact is hard to detect. Forms continue to return success, but messages stop arriving. By the time the issue is noticed, the cause is buried among multiple sites, and fixing it requires key rotation, account changes, or rushed reconfiguration.

FormRoute addresses this by isolating form delivery by default and treating abuse as an expected condition, not an exception.


Design Goals

FormRoute is designed around a small set of explicit constraints.

Transactional scope only
All messages are triggered by end-user form submissions and delivered to a designated inbox. The system does not support campaigns, subscriber lists, bulk sends, or automation workflows. Limiting scope in this way simplifies deliverability, compliance, and abuse handling.

Predictable submission handling
Form submission latency should be independent of downstream email providers or third-party services. The ingestion path accepts, validates, and acknowledges requests synchronously, even when delivery systems are degraded or unavailable.

Abuse as a normal operating condition
Automated traffic, replay attempts, and client misconfiguration are treated as expected inputs. Rate limiting, validation, and enforcement are implemented as baseline behavior rather than reactive controls.

Tenant isolation
Each site operates with independent limits, credentials, and reputation. Delivery issues or abuse affecting one site must not impact others. This isolation informs both the system architecture and the service’s cost model.


Architectural Overview

FormRoute uses a split‑path architecture that separates ingestion from delivery:

  1. Submission Ingestion Layer Validates requests, enforces abuse controls, and queues accepted submissions.

  2. Background Delivery Workers Perform email delivery and optional secondary actions.

The HTTP request path is intentionally minimal. Submissions are validated, rate‑limited, persisted, queued, then acknowledged immediately. No external calls (SES, Google APIs) are made inline with user requests.

This guarantees predictable latency and prevents third‑party outages from cascading into frontend failures.


Core Entities

LayerEntityPurpose
ControlTenantCustomer account and billing state
ControlSiteA single website form configuration
IngestionSubmissionA validated, sanitized form payload
DeliveryJobA queued delivery task
AuditEventBounce, complaint, or delivery outcome

Each site belongs to exactly one tenant and enforces independent limits, secrets, and delivery rules.


Submission Ingestion

Form submissions are accepted via a single endpoint:

POST /v1/submit

Supported formats include JSON and application/x-www-form-urlencoded, enabling compatibility with native HTML forms and no‑code tools.

On receipt, the ingestion layer performs the following steps synchronously:

  • Origin allowlist verification
  • Per‑site secret key validation
  • Honeypot field inspection
  • Minimum time‑to‑submit heuristic
  • Adaptive CAPTCHA verification
  • Redis‑backed rate limiting (IP, site, and combined)
  • Idempotency check using a request identifier
  • Payload sanitization and size enforcement

If any check fails, the submission is rejected immediately. If all checks pass, the submission is persisted and enqueued for background processing.

Accepted submissions always return 200 OK without exposing delivery outcomes.


Idempotency and Replay Protection

Public form endpoints are frequently retried by browsers, proxies, and client‑side scripts.

To prevent duplicate deliveries, FormRoute supports explicit idempotency via a request identifier. Each (siteId, requestId) pair is recorded with a fixed TTL. Replayed submissions return success but do not enqueue additional jobs.

This guarantees that retries, page reloads, or network errors cannot result in duplicate emails.


Background Delivery

Delivery workers operate independently from the ingestion layer.

For each queued job, a worker:

  • Resolves the site’s verified sending identity
  • Constructs a transactional email payload
  • Sends via Amazon SES with explicit timeouts
  • Records provider message IDs and outcomes

Failures are retried with exponential backoff. Jobs that exceed retry limits are moved to a dead‑letter queue for inspection.

Optional secondary workers handle non‑critical tasks such as appending submissions to Google Sheets. These workers are fully isolated from email delivery and do not block or aggressively retry on failure.


Tenant Isolation and Deliverability

Tenant isolation is a first‑order requirement.

Each site is associated with:

  • A verified sending domain or subdomain
  • Independent rate and volume limits
  • Independent abuse and deliverability metrics

Reputation signals, like bounces, complaints, and anomalous volume, are monitored continuously. Sites or tenants that exceed safe thresholds are automatically paused, preventing further delivery while preserving system‑wide reputation.

Kill switches are immediate and reversible, allowing operators to contain abuse without impacting unrelated customers.


Event Ingestion and Feedback Loops

FormRoute subscribes to SES delivery events.

Bounce and complaint notifications are persisted as immutable events and associated with the originating site and tenant. These events feed automated enforcement rules and long‑term health metrics.

This feedback loop ensures delivery behavior adapts to real‑world signals rather than assumptions.


Security and Data Handling

FormRoute intentionally avoids collecting end‑user accounts or profiles.

  • Payloads are sanitized and size‑limited
  • Secrets are stored hashed and compared in constant time
  • Provider credentials are isolated from application logic
  • All state transitions are auditable and timestamped

Data retention policies enforce automatic purging of historical submissions after defined intervals, minimizing exposure and compliance burden.


Operational Characteristics

  • Predictable API latency under load
  • No synchronous third‑party dependencies
  • Bounded retry behavior
  • Deterministic acceptance and rejection rules
  • Explicit failure modes with a clear blast radius

The system is designed to degrade safely. When limits are exceeded or abuse is detected, submissions are rejected cleanly.


Business Considerations and Cost Structure

FormRoute is designed as cost-efficient infrastructure for a narrow use case.

General-purpose email platforms are priced around marketing features such as subscriber management, campaigns, templates, analytics, and automation. These features define the minimum cost, even when they are unused. For basic form delivery, this results in unnecessary expense.

For agencies managing many low-traffic sites, the cost structure scales poorly. Per-account minimums increase linearly, while shared-account setups introduce operational risk through shared reputation and limited visibility into failures.

FormRoute deliberately limits scope. By excluding subscriber storage, campaign logic, and UI-heavy tooling, its cost is driven primarily by core infrastructure. Email delivery is handled by Amazon SES, where transactional form traffic typically incurs minimal usage charges.

As a result, pricing remains stable as the number of sites increases. Agencies can support many client sites without multiplying costs. Freelancers and individual site owners can use the service long-term without revisiting email platform decisions or absorbing the overhead of marketing-oriented plans.

Annual billing further reduces overhead and supports predictable usage patterns.


Outcome

FormRoute provides a focused solution for website form delivery.

By limiting scope to transactional submissions and enforcing isolation at the site level, it avoids the shared-reputation and operational risks common to general-purpose email platforms. Delivery behavior, failure modes, and limits are explicit and predictable.

The result is a low-cost, reliable path from public form to inbox that does not rely on shared marketing email infrastructure.

FormRoute is not a general email platform. It is infrastructure: intentionally limited in scope and designed to operate with minimal ongoing attention.