← Back to blog

Transactional Email Infrastructure (2026): Hosted and Self-Hosted Rovela

What transactional email infrastructure includes on Rovela: queue, DKIM/SPF/DMARC, logs, webhooks, optional mailboxes — and the documented hosted vs self-hosted choice. No dedicated IPs.

Updated November 10, 2026
Transactional Email Infrastructure (2026): Hosted and Self-Hosted Rovela

What transactional email infrastructure actually is

Transactional email infrastructure is the stack that turns “a user just signed up” into a signed message at a receiving mail server, and a record of whether it arrived. It is more than a POST. At minimum it is a queue, a verified sending domain (SPF, DKIM, DMARC, return-path), a delivery pipeline, a log, and a way to hear about bounces. Rovela sells that stack as a hosted Email API and transactional email service; it also documents a self-hosted path if you want to operate the same software yourself (Installation).

This is the infrastructure picture. The product/service view is Transactional Email Service. The “plain HTTP vs running mail yourself” argument is A Simple Transactional Email API. The operational cost of a mail server in general is Self-Hosting a Mail Server. This article will not invent dedicated IPs, anycast, or an SLA.

Start from the Email API product page, the Quick Start, the Send Email API, and Authentication.

Related product guides in this series:

The hosted pieces you are using

When you call https://api.rovela.dev/emails, these are the documented parts that run after your request:

  1. Authentication and acceptance. A Bearer key (sending_access or full_access) and a JSON body. Invalid from domains are refused with 400 before they enter the pipeline (Email API Authentication, Verified Domain Email API).
  2. A queue, not a blocking SMTP conversation. The API answers as soon as the message is queued; delivery runs in the background so your request never waits on the receiving server (Email API).
  3. Domain-authenticated sending. Every outgoing message is DKIM-signed with the sender’s own domain key and SPF-aligned. You publish the records the dashboard (or Domains API) generated (How Email Authentication Works, What Is an Email Domain?). Custom return path for SPF alignment is included on paid plans (Pricing).
  4. Per-message history. Status and events — queued, sent, delivered, opened, bounced, complained, suppressed — in the dashboard and via GET /emails/:id and /events (Email Delivery Status API, Email API Logs).
  5. Signed webhooks. Delivery, bounce, complaint, open, click, and inbound events pushed to your endpoint, with a documented five-attempt retry schedule (Webhooks, Transactional Email Webhooks).
  6. Suppression. Hard bounces, complaints, and one-click unsubscribes land on a list so you do not keep mailing addresses that hurt the domain (Dashboard overview).
  7. Optional mailboxes on the same domain. Webmail at rovela.email, IMAP, and mailbox SMTP for people — not a high-volume application relay (SMTP, Email API vs SMTP Relay).

Idempotency keys (24 hours) sit in front of the queue so a retried POST does not create a second message (Email API Retries). That is an application-facing property of the infrastructure, not a substitute for it.

curl -X POST https://api.rovela.dev/emails \
  -H "Authorization: Bearer re_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <hello@yourdomain.com>",
    "to": "you@example.com",
    "subject": "Hello from Rovela",
    "html": "<p>It worked.</p>",
    "text": "It worked."
  }'

Hosted vs self-hosted

Installation is clear: Rovela is the same software either way; the difference is who operates the mail stack — the Postfix and Dovecot instances that actually deliver and store mail.

Hosted is the default. Nothing to install; start at Quick Start.

Self-hosted means running the stack from the repository’s docker-compose.yml: the API, the web app, PostgreSQL, and the mail stack. The operator’s guide lives in docs/PRODUCTION_DEPLOYMENT.md in the repository (currently written in Chinese). You take on:

  • A host with a public IP and a hostname that reverse-resolves to it (PTR / HELO mismatch is refused by much of the internet).
  • Ports 25, 465, 587, and 993 reachable from the internet (many providers block 25 by default).
  • TLS certificates for the API, the web app, and the mail hostnames.
  • Configuration split across two environment files; starting with one produces a service that runs with features quietly switched off.
  • Backups and monitoring. Mail you cannot restore is mail you have lost.
  • Reputation on a fresh IP, which has none. The first weeks are spent building it — start with low volume to recipients who expect your mail, and watch bounce and complaint rates rather than the sent count.

There is still no official client library; the API remains HTTP and JSON. GET /health returns ok when the API is up.

Self-hosting is the right choice when you have a data-residency requirement, an existing mail estate, or a desire to own deliverability reputation outright. It is not a quicker way to send Friday’s password reset.

What this infrastructure is not

  • Not a dedicated-IP product. No such feature is claimed on the current product or pricing pages.
  • Not a high-volume SMTP relay for apps. Mailbox SMTP is sized for people and small mail-app use (30 messages a minute, send-as-self).
  • Not a marketing ESP by default. Broadcasts exist as a documented marketing surface (Marketing email), but the infrastructure described here is built around transactional, triggered mail (Transactional vs Marketing Email).

If you are choosing a vendor rather than an architecture, see Transactional Email Provider.

FAQ

Does using the hosted API mean I give up my domain reputation? You send as your domain, with your DKIM key. You do not have to operate the MTA. That is the usual reason to buy hosted infrastructure.

Can I start hosted and self-host later? The docs present both as the same software with a different operator. Treat a move as an operations project (IPs, PTR, ports, reputation), not as a DNS-record copy-paste.

Where do I start if I just need codes and receipts? Hosted: verify a domain, create a sending_access key, POST /emails (Email API for Startups, Send Email Programmatically). Add webhooks before the flow is on the hot path.

Buy the stack, or operate it — don’t half-build it

Use hosted Rovela when you want the queue, signing, logs, and webhooks without running Postfix. Use self-hosted only when you are ready to own IP reputation and mail operations. Either way, your application’s interface stays the same: HTTPS, JSON, and a verified domain.