✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more
Andrii Bidochko
  • Updated: January 18, 2026
  • 7 min read

Remails: European High‑Availability Email Transfer Agent Shifts to Kubernetes

Remails is a cloud‑native, European‑hosted Mail Transfer Agent (MTA) that delivers transactional email with high availability, leveraging Kubernetes, managed outbound IPs, and a robust message‑bus architecture.

Organizations across Europe are increasingly wary of relying on U.S.‑based email services for compliance, data‑sovereignty, and latency reasons. The original announcement highlighted Remails as a home‑grown alternative that promises reliable, high‑throughput transactional email without compromising on privacy or deliverability. This article breaks down the purpose, evolution, and technical underpinnings of Remails, and shows how it fits into modern cloud email solutions.

Why Remails Exists: Purpose and Evolution

At its core, Remails is an email transfer agent designed for transactional messages—password resets, order confirmations, and system alerts. Unlike bulk‑mail platforms, it focuses on low‑latency, high‑reliability delivery, ensuring each message reaches the inbox rather than the spam folder.

The project began as a single‑binary proof‑of‑concept running on a modest VPS in a European data centre. Early adopters needed a quick MVP to test integration, so the team prioritized a minimal feature set: SMTP handling, a basic web UI, and PostgreSQL persistence. Within weeks, the prototype proved functional, prompting a rapid shift toward a production‑grade architecture.

Over the past year, Remails has transformed from that single‑binary MVP into a high‑availability (HA) cloud email solution built on Kubernetes. The evolution was driven by three non‑negotiable requirements:

  • European data residency and compliance.
  • Zero‑downtime operation with automatic failover.
  • Full control over outbound IP addresses to protect sender reputation.

Technical Architecture: Kubernetes, HA, and Outbound IP Management

Kubernetes as the Foundation

Remails runs on a managed Kubernetes cluster provided by a leading European cloud provider. The architecture splits the system into two logical services:

  1. Web API & Management UI – Handles user authentication, API keys, and configuration.
  2. SMTP MTA Engine – Processes inbound SMTP traffic, queues messages, and dispatches outbound mail.

Both services are deployed as Deployments, allowing the scheduler to run multiple replicas across distinct nodes. This redundancy guarantees that if a node fails, another replica instantly takes over, delivering true high availability email service.

Managed PostgreSQL for Persistent State

All email metadata, delivery attempts, and retry counters reside in a managed PostgreSQL instance outside the cluster. This separation ensures data durability, point‑in‑time recovery, and automatic backups—critical for the “data availability” pillar of the HA model.

Outbound IP Management: The BYOIP Challenge

Spam filters heavily weigh the reputation of the sending IP. To avoid the “cloud IP reputation penalty,” Remails uses a Bring‑Your‑Own‑IP (BYOIP) block allocated from the provider. The challenge is to route each email through the correct IP while preserving HA.

The solution is a hybrid of DaemonSets and a custom Cloud IP Manager:

  • Each node runs a single SMTP‑Outbound pod as a DaemonSet, granting it direct host‑network access.
  • The Cloud IP Manager programmatically assigns multiple IPs to each node via the provider’s API.
  • Outbound pods select the appropriate IP based on the sender’s configuration stored in the database.

This design lets Remails offer dedicated IP pools to high‑volume customers, isolating their reputation from other tenants while still benefiting from Kubernetes‑driven HA.

Lightweight Message Bus for Coordination

To keep the system loosely coupled, Remails employs a simple broadcast Message Bus. When an email is ready for delivery, the Web API, inbound SMTP service, or periodic retry job publishes a notification containing the email ID and the target outbound IP. The DaemonSet pods listen for these events and act accordingly.

The bus is intentionally “best‑effort”—it has no built‑in retry mechanism. Reliability is instead guaranteed by the persistent database: if a notification is missed, the periodic retry job re‑queues the email, ensuring eventual delivery without service disruption.

Observability, Backups, and Disaster Recovery

Remails integrates with Prometheus for metrics, Grafana for dashboards, and Loki for log aggregation. Alerts trigger on:

  • Node or pod failures.
  • Database replication lag.
  • Outbound IP exhaustion or reputation warnings.

Daily full backups are stored in a separate region, and a secondary backup job mirrors them to an off‑site object store, satisfying stringent data‑security policies.

Future Roadmap: Scaling the European Email Ecosystem

The Remails team has outlined a clear roadmap that expands both feature set and ecosystem impact:

  1. IP Reputation Dashboard – Real‑time monitoring of each outbound IP’s spam score.
  2. DMARC & Bounce Handling – Native inbound processing for bounce and report messages.
  3. Granular Auditing – Per‑organization logs for compliance and forensic analysis.
  4. Multi‑Region Failover – Deploy clusters in multiple EU zones for geo‑redundancy.
  5. Marketplace Integrations – Plug‑and‑play templates for AI‑enhanced email content (e.g., AI SEO Analyzer, AI Article Copywriter).

By delivering a fully European, HA email transfer agent, Remails reduces reliance on trans‑Atlantic providers, cuts latency for EU users, and offers tighter control over data privacy—key differentiators for SaaS startups, fintech firms, and regulated enterprises.

Visual Overview of the Architecture

Remails architecture diagram

The diagram illustrates the separation of the Web API, inbound SMTP service, outbound DaemonSet pods, the Cloud IP Manager, and the central Message Bus—all connected to a managed PostgreSQL instance.

How UBOS Enhances Email Workflows

While Remails focuses on the transport layer, UBOS provides a suite of tools that can enrich your email pipelines:

By combining Remails’ robust transport layer with UBOS’s AI‑driven applications, developers can create end‑to‑end email solutions that are both secure and intelligent.

Boosting Email Content with UBOS Template Marketplace

UBOS’s marketplace offers ready‑made AI tools that can be plugged into a Remails workflow:

These templates illustrate how a cloud email solution can become a hub for AI‑enhanced communication, turning raw transactional data into actionable, personalized experiences.

Conclusion: Adopt a European‑First Email Strategy Today

Remails demonstrates that a modern, high‑availability email transfer agent can be built entirely on European infrastructure without sacrificing scalability or feature richness. By leveraging Kubernetes, managed outbound IPs, and a lightweight message bus, it delivers reliable transactional email while giving operators full control over reputation and compliance.

If you’re a developer or tech‑savvy professional looking to replace US‑based MTAs, explore Remails now and consider pairing it with UBOS’s AI ecosystem for a truly intelligent email pipeline.


Andrii Bidochko

CTO UBOS

Andrii Bidochko is an AI entrepreneur and researcher focused on AI agents, reinforcement learning, and autonomous systems. He writes about the technologies shaping the future of machine intelligence, from frontier models and agent architectures to real-world AI applications.

Sign up for our newsletter

Stay up to date with the roadmap progress, announcements and exclusive discounts feel free to sign up with your email.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.