Pillar Guide

Email Sending Infrastructure: IPs, ESPs, MTAs & Architecture Guide

Design bulletproof email infrastructure with the right IPs, ESPs, and architecture. Learn IP allocation, MTA configuration, failover strategies, and multi-ESP setups.

Boxset TeamFeb 20, 202622 min read
infrastructurededicated IPshared IPESPMTAdeliverability

Why Infrastructure Decisions Shape Deliverability

Most email teams obsess over content, subject lines, and send timing — and those things matter. But the infrastructure beneath your emails is the foundation on which every other deliverability factor rests. You can write the perfect email, send it to a pristine list at the optimal time, and still watch it land in spam because your sending architecture is misconfigured, your IP is shared with a bad neighbor, or your MTA is leaking metadata that triggers spam filters.

Email infrastructure encompasses everything between the moment your application says "send this email" and the moment a receiving mail server accepts (or rejects) that message. That includes the IP address the message originates from, the ESP or MTA that handles the SMTP conversation, the DNS records that authenticate and route your mail, the subdomain strategy that separates your mail streams, and the monitoring systems that detect problems before they become crises.

91%

of email deliverability issues trace back to infrastructure misconfiguration, not content problems

Infrastructure decisions are uniquely consequential because they are difficult to reverse. Switching from a shared IP to a dedicated IP means weeks of warmup. Migrating between ESPs requires re-authentication, new DNS records, and a reputation restart. Restructuring your mail streams after a cross-contamination event means untangling months of intertwined reputation data. These are not quick fixes — they are architectural decisions that lock you into a trajectory.

The most dangerous aspect of infrastructure problems is their invisibility. A misconfigured PTR record does not trigger an error in your application. A shared IP neighbor running a compromised list does not show up in your ESP dashboard. An MTA that fails to negotiate TLS and falls back to plaintext does not send you an alert. These silent failures accumulate over weeks and months, gradually degrading your inbox placement until one day you realize 30% of your email is going to spam and you cannot pinpoint when it started.

This guide walks through every layer of email sending infrastructure: IP allocation, ESP selection, MTA configuration, multi-ESP architecture, mail stream separation, and monitoring. By the end, you will have a clear blueprint for building infrastructure that maximizes deliverability and minimizes risk.

Dedicated IP vs Shared IP: Making the Right Choice

The IP address your emails are sent from carries a reputation score at every major mailbox provider. That reputation is built over time based on the sending behavior associated with that IP — volume, bounce rates, spam complaints, engagement patterns, and spam trap hits. The fundamental question is whether you want to control that reputation yourself (dedicated IP) or share it with other senders (shared IP).

A dedicated IP is an IP address assigned exclusively to your organization. Every email sent from that IP is yours, and the reputation it accumulates reflects only your sending behavior. You have full control — and full responsibility. If your list hygiene slips and you hit a spam trap, the damage is contained to your IP but it is entirely your problem to fix. No one else's good behavior will bail you out.

A shared IP is an IP address used by multiple senders, typically managed by your ESP. When you send through SendGrid, Mailgun, or SES on their default shared pools, your emails go out alongside those of hundreds or thousands of other customers. The reputation of that IP is a blend of everyone's behavior. If your ESP manages their pool well — vetting senders, enforcing anti-abuse policies, and rotating bad actors off the pool — shared IPs can deliver excellent inbox placement. If they do not, you inherit problems you did not create.

The volume threshold is the clearest decision point. Below 50,000 emails per month, you simply cannot generate enough sending data to maintain a stable reputation on a dedicated IP. Mailbox providers need consistent, sufficient volume to build a reputation profile. An IP that sends sporadically or at low volume is treated as unknown or suspicious, which is worse than a well-managed shared IP with an established positive reputation.

Between 50,000 and 100,000 emails per month, dedicated IPs become viable but not mandatory. At this level, the decision depends on your risk tolerance, your ESP's shared pool quality, and your operational capacity to manage IP warmup and monitoring.

Above 100,000 emails per month, dedicated IPs are strongly recommended. At this volume, you generate enough data to build and maintain a robust reputation, and the risk of shared pool contamination outweighs the operational overhead of managing your own IPs.

One hybrid approach gaining traction: use a dedicated IP for transactional email (password resets, order confirmations, security alerts) and a shared IP for marketing email. Transactional messages are high-engagement by nature, which builds strong IP reputation quickly, and their time-sensitive nature benefits from the isolation a dedicated IP provides. Marketing messages, which carry higher complaint risk, stay on the shared pool where the blended reputation provides a buffer.

IP Pool Management and Mail Stream Separation

If your organization sends more than one type of email — and virtually every organization does — you need to separate your mail streams. The principle is simple: different types of email carry different reputation risk profiles, and mixing them on the same infrastructure means a problem in one stream contaminates the others.

The three primary mail streams most organizations should separate are:

Transactional mail includes password resets, order confirmations, shipping notifications, security alerts, and two-factor authentication codes. These messages are expected, time-sensitive, and have extremely high engagement rates (open rates of 60-80% are typical). Transactional mail is your most valuable stream — recipients are actively waiting for these messages, and delayed delivery directly impacts user experience and revenue.

Marketing mail includes newsletters, promotional campaigns, product announcements, re-engagement sequences, and any message whose primary purpose is driving business outcomes rather than fulfilling a user action. Marketing mail has lower engagement rates (15-25% open rate) and higher complaint rates (0.05-0.15%) than transactional mail. It is the highest-risk stream for reputation damage.

Triggered/behavioral mail sits between transactional and marketing. This includes onboarding sequences, abandoned cart emails, browse abandonment, win-back campaigns, and any automated message triggered by user behavior. Engagement rates vary widely depending on how well-targeted the triggers are.

Each stream should have its own IP pool (if you use dedicated IPs), its own subdomain, and ideally its own ESP account or sub-account. This creates blast walls between the streams. If a marketing campaign triggers a spike in spam complaints, the damage is contained to the marketing subdomain and IP pool. Your transactional mail continues to flow uninterrupted on its own clean infrastructure.

Adopt a clear, consistent subdomain naming convention for your mail streams. A widely used pattern is: mail.yourdomain.com for transactional email, marketing.yourdomain.com or news.yourdomain.com for marketing email, and notify.yourdomain.com for triggered/behavioral email. Each subdomain gets its own SPF, DKIM, and DMARC records. This naming convention is not just organizational — it gives mailbox providers clear signal separation so they can evaluate each stream's reputation independently.

IP pool management requires deliberate architecture. If you run three dedicated IPs — one per stream — you need to ensure each pool receives consistent daily volume. An IP that goes quiet for several days loses its warmed status. For organizations where triggered mail volume is unpredictable, consider keeping triggered mail on a shared pool while keeping transactional and marketing on dedicated IPs.

Subdomain strategy also intersects with DNS and authentication. Each sending subdomain needs its own set of SPF records (authorizing the specific IPs or ESP for that stream), DKIM keys (signed under the subdomain), and DMARC alignment. This is more DNS management overhead, but the isolation benefit is significant. A DMARC failure on your marketing subdomain does not affect the authentication status of your transactional subdomain.

Choosing the Right ESP (or Multiple ESPs)

Your Email Service Provider is the engine of your sending infrastructure. It handles the SMTP connections, manages your IP pools, processes bounces and complaints, provides sending APIs and SMTP relays, and gives you the dashboards and webhooks you need to monitor performance. Choosing the right ESP is one of the most impactful infrastructure decisions you will make.

The ESP landscape in 2026 has matured into distinct tiers and specializations. There is no single "best ESP" — the right choice depends on your volume, technical sophistication, budget, and which mail streams you need to support.

SendGrid (Twilio) remains the most widely adopted ESP for application and marketing email. Its strengths include a mature API, extensive documentation, solid deliverability tooling (including dedicated IP management and IP warmup support), and a broad feature set covering both transactional and marketing use cases. SendGrid's weakness is customer support — response times on non-enterprise plans can stretch to days, and deliverability consulting is reserved for premium tiers. Pricing scales with volume and can become expensive at high volumes.

Amazon SES offers the lowest per-email cost in the industry at $0.10 per 1,000 emails, making it the default choice for cost-conscious high-volume senders. SES provides raw SMTP relay and API sending with minimal hand-holding. You manage your own IP warmup, reputation monitoring, and bounce/complaint processing. SES is powerful infrastructure for teams with strong email operations expertise, but it provides almost no deliverability support or guidance. It is a tool for builders, not a managed service.

Postmark specializes in transactional email and is purpose-built for delivering password resets, receipts, and notifications with the highest possible reliability and speed. Postmark enforces strict anti-abuse policies (no cold outreach, no purchased lists) which keeps their shared IP pools exceptionally clean. Their delivery speeds are consistently the fastest in the industry. The trade-off: Postmark does not support bulk marketing email on its core platform (their separate product, Postmark Broadcasts, handles newsletters).

Mailgun (Sinch) occupies a strong middle ground with developer-friendly APIs, flexible IP management, and competitive pricing. Mailgun's standout feature is its email validation API and deliverability analytics, which provide actionable insights into inbox placement. It handles both transactional and marketing email well, though it lacks the marketing automation features that platforms like SendGrid or Mailchimp offer natively.

When evaluating ESPs beyond the headline features, pay close attention to three often-overlooked factors. First, webhook quality: how quickly does the ESP fire delivery, bounce, open, and complaint events, and how reliable is the webhook delivery? Real-time webhook processing is essential for maintaining list hygiene and reacting to deliverability issues. Second, deliverability support: does the ESP provide a dedicated deliverability consultant, or are you on your own? For teams without deep email operations expertise, this support can be worth more than any feature difference. Third, IP and authentication flexibility: can you manage multiple dedicated IPs, create IP pools per mail stream, configure custom DKIM signing domains, and control SMTP headers at a granular level? Infrastructure flexibility determines how well you can implement the mail stream separation and multi-ESP patterns described in this guide.

Multi-ESP Architecture

The most sophisticated email operations do not rely on a single ESP. They architect around two, three, or even four providers, using each one strategically to maximize reliability, deliverability, and flexibility. If your email program is critical to your business — and for most companies, it is — a single-ESP architecture introduces an unacceptable single point of failure.

The case for multi-ESP architecture rests on three pillars: redundancy, deliverability optimization, and negotiating leverage.

Redundancy is the most obvious benefit. ESPs experience outages. SendGrid had multiple significant service disruptions in 2024-2025. Amazon SES occasionally throttles new senders aggressively. Mailgun has experienced delayed webhook delivery. When your only ESP goes down, your transactional email — password resets, order confirmations, security alerts — stops flowing. If you run a secondary ESP in a hot-standby configuration, your application can failover within seconds and your users never notice the disruption.

Deliverability optimization is the more nuanced benefit. Different ESPs have different IP reputations at different mailbox providers. SendGrid might deliver exceptionally well to Gmail but struggle with Outlook. SES might have strong Outlook placement but mediocre Yahoo performance. By splitting traffic across ESPs and monitoring inbox placement per provider per ESP, you can route traffic to whichever ESP delivers best for each destination domain. This is advanced optimization, but for high-volume senders, it can improve overall inbox placement by 5-15 percentage points.

Redundancy is not optional for transactional email. If your ESP goes down and a customer cannot reset their password, complete a purchase, or receive a security alert, the business impact is immediate and measurable. Architect for failure by running at least two ESPs capable of handling your transactional mail. The secondary ESP does not need to carry full volume day-to-day — it just needs a warm-enough IP and a tested failover mechanism to absorb traffic when the primary is unavailable.

A common multi-ESP pattern for mid-to-large senders looks like this: Postmark for transactional (fastest delivery, cleanest IPs, highest reliability), SendGrid for marketing (robust campaign tooling, good deliverability), and Amazon SES as a failover/overflow provider (lowest cost, handles burst volume). Each ESP has its own dedicated subdomain, its own authentication records, and its own IP infrastructure. Traffic routing is managed by a lightweight abstraction layer in your application that directs each message type to the appropriate ESP and handles failover logic.

A/B testing across ESPs is another powerful capability of multi-ESP architecture. By splitting identical campaigns 50/50 across two ESPs and measuring inbox placement, open rates, and click rates, you get direct, controlled evidence of which ESP delivers better for your specific content, audience, and sending pattern. This data is invaluable for ESP selection decisions and contract negotiations.

Traffic splitting strategies vary by maturity level. At the simplest level, you split by mail stream type (transactional to ESP A, marketing to ESP B). At an intermediate level, you split by recipient domain (Gmail traffic to ESP A, Outlook traffic to ESP B based on deliverability data). At the most advanced level, you implement dynamic routing that evaluates real-time delivery metrics and routes each message to the ESP with the best current performance for that specific recipient domain.

MTA Configuration Essentials

The Mail Transfer Agent is the software that actually speaks SMTP — the protocol that transfers email between servers. Whether you run your own MTA (Postfix, PowerMTA, Halon, OpenSMTPD) or rely on an ESP's managed MTA infrastructure, the configuration details of that MTA directly impact your deliverability. These are the nuts-and-bolts technical settings that most marketing teams never think about but that receiving mail servers evaluate on every single connection.

Reverse DNS (PTR Records) is the most fundamental MTA requirement. Every IP address that sends email must have a PTR record that maps the IP back to a hostname, and that hostname must in turn resolve forward to the same IP (a "forward-confirmed reverse DNS" or FCrDNS check). If a receiving server does a reverse lookup on your sending IP and gets no result — or gets a generic hostname like ec2-52-14-92-31.us-east-2.compute.amazonaws.com — it is a strong negative signal. Many receiving servers reject connections outright when PTR records are missing or do not match. Your PTR record should resolve to a hostname under your own domain, such as mail1.yourdomain.com, and that hostname should have an A record pointing back to the IP.

HELO/EHLO Configuration is the first thing your MTA says to a receiving server when opening an SMTP connection. The HELO (or EHLO for extended SMTP) greeting identifies your sending server. This identity should be a fully qualified domain name (FQDN) that matches your PTR record. Mismatches between your HELO identity, PTR record, and the domain in your email headers are a red flag for spam filters. A surprising number of MTA configurations ship with default HELO values like localhost or the server's internal hostname — both of which signal misconfigured infrastructure.

Connection Throttling controls how aggressively your MTA opens connections to receiving servers. Every major mailbox provider has rate limits — Gmail, for example, limits the number of simultaneous SMTP connections from a single IP and the number of messages per connection. If your MTA exceeds these limits, the receiving server will defer your messages with 421 or 452 response codes, and repeated over-aggressive connection attempts can trigger temporary IP blocks. Proper throttling means configuring your MTA to respect per-destination rate limits, back off on deferrals, and distribute connections evenly over time rather than bursting.

Retry Logic determines how your MTA handles temporary failures (4xx SMTP responses). When a receiving server defers a message, your MTA should queue it and retry according to an escalating backoff schedule — typically retrying after 15 minutes, then 30, then 60, then 120, up to a maximum retry window of 72 hours before generating a permanent failure. Overly aggressive retry intervals (retrying every 30 seconds) annoy receiving servers and can get your IP blocked. Overly conservative intervals (waiting 6 hours between retries) mean your time-sensitive messages arrive late.

TLS Enforcement ensures your SMTP connections are encrypted in transit. Modern best practice is to configure your MTA for "opportunistic TLS" at minimum — attempt TLS on every connection and fall back to plaintext only if the receiving server does not support it. For high-security senders, "mandatory TLS" refuses to deliver if encryption cannot be negotiated. Gmail, Outlook, and Yahoo all support TLS, and Gmail's transparency report flags messages received without TLS encryption.

Pro Tip from Boxset Team

Enable MTA-STS (Mail Transfer Agent Strict Transport Security) and DANE (DNS-Based Authentication of Named Entities) on your sending domains. MTA-STS publishes a policy declaring that your domain requires TLS for inbound connections, preventing downgrade attacks. DANE goes further by pinning the TLS certificate in DNS via TLSA records. Together, they ensure that emails sent to your domain are always encrypted and authenticated at the transport layer. While primarily an inbound security measure, advertising MTA-STS support signals infrastructure sophistication that mailbox providers factor into reputation.

Monitoring Infrastructure Health

Building solid email infrastructure is only half the equation. The other half is monitoring it continuously so you can detect and resolve issues before they impact your inbox placement. Email infrastructure degrades silently — a drifting IP reputation, a slowly filling mail queue, or a subtle DNS misconfiguration can erode your deliverability over weeks without triggering any obvious alarm.

SMTP response codes are the primary language through which receiving servers communicate with your MTA. Understanding these codes is essential for diagnosing infrastructure issues:

  • 250: Success. The message was accepted for delivery. This is what you want to see on every transaction.
  • 421: Temporary service unavailable. The receiving server is overloaded or rate-limiting your connections. Back off and retry later. Persistent 421s suggest you are sending too aggressively or your IP has a temporary reputation issue.
  • 450: Requested action not taken — mailbox unavailable. Typically a temporary condition, often due to greylisting or the recipient mailbox being temporarily full. Standard retry logic should handle these.
  • 451: Requested action aborted — local error in processing. The receiving server encountered an internal error. Not your fault, but monitor the frequency — if a single destination domain returns consistent 451s, report it to their postmaster.
  • 550: Requested action not taken — mailbox unavailable (permanent). The recipient address does not exist. This is a hard bounce — immediately remove this address from your list. A hard bounce rate above 2% signals list hygiene problems.
  • 554: Transaction failed. This is a general permanent rejection, often accompanied by a human-readable reason like "Message rejected due to content" or "Sender IP is blacklisted." The accompanying text is critical for diagnosis.

Delivery latency tracking measures the time between your application's send request and the receiving server's acceptance. Transactional email should be delivered within 1-3 seconds under normal conditions. If you see delivery latency climbing to 10, 30, or 60+ seconds, it indicates queue buildup, connection throttling, or infrastructure bottlenecks. Set alerting thresholds: warn at 10 seconds average latency, alert at 30 seconds, page on-call at 60 seconds.

Queue depth monitoring tracks how many messages are sitting in your MTA's outbound queue waiting for delivery. A healthy MTA should have near-zero queue depth during normal operations. A growing queue means messages are being deferred faster than they are being delivered — either because receiving servers are throttling you, your MTA is misconfigured, or you have a sudden volume spike. Queue depth that grows for more than 15 minutes should trigger an investigation.

Beyond these foundational checks, mature email operations teams also monitor TLS negotiation success rates (what percentage of outbound connections successfully establish TLS), authentication pass rates per mailbox provider (are SPF/DKIM/DMARC passing at 100% or are there alignment failures), and feedback loop complaint rates by campaign and recipient domain. The more granular your monitoring, the faster you detect and resolve issues.

How Boxset Unifies Multi-ESP Infrastructure

Managing email infrastructure across multiple ESPs, IP pools, subdomains, and mail streams creates a fragmentation problem. Your SendGrid dashboard shows one view of your deliverability. Your SES console shows another. Your Postmark account shows a third. Google Postmaster Tools shows a fourth perspective. Piecing together a coherent picture of your infrastructure health from four different dashboards, each with different metrics, different latencies, and different definitions of "delivered" is a full-time job.

Boxset eliminates this fragmentation by providing a unified infrastructure layer that sits across all of your ESPs and aggregates every signal into a single, coherent view.

Unify Your Email Infrastructure in One Dashboard

Connect SendGrid, SES, Postmark, Mailgun, and more. Boxset aggregates deliverability data across all your ESPs so you can monitor, compare, and optimize from one place.

Explore Integrations

Cross-ESP dashboard consolidates delivery metrics, bounce rates, complaint rates, inbox placement estimates, and reputation signals from every connected ESP. Instead of checking four dashboards to understand your infrastructure health, you check one. Boxset normalizes the data across providers — translating each ESP's slightly different bounce categories, event schemas, and timing into a unified model — so you can make apples-to-apples comparisons between ESPs and across time.

Unified webhook processing means that bounce events, complaint feedback loops, delivery confirmations, and engagement signals from all of your ESPs are processed through a single pipeline. When a recipient bounces on SendGrid, that suppression is automatically propagated to your SES and Postmark sending lists. When a complaint comes in through Yahoo's feedback loop via Mailgun, that suppression is reflected everywhere. This cross-ESP suppression synchronization prevents the common and costly mistake of suppressing an address on one ESP but continuing to send to it from another.

Comparative deliverability analytics let you see how each ESP performs for specific destination domains, recipient segments, and content types. If SendGrid consistently delivers better inbox placement at Gmail but SES outperforms at Outlook, Boxset surfaces that insight with actionable data — enabling the smart traffic routing decisions described in the multi-ESP architecture section. Over time, these comparative analytics build a data-driven picture of where each ESP excels and where it struggles, replacing gut feelings and anecdotal evidence with measurable results.

Infrastructure health scoring assigns a real-time health score to each component of your sending architecture: each IP address, each subdomain, each ESP connection, and each mail stream. When a component's health score drops — say, a dedicated IP's reputation dips at Gmail — Boxset alerts you with the specific diagnosis and a recommended remediation path. This proactive monitoring catches infrastructure issues during the early, correctable stage rather than after they have cascaded into a deliverability crisis.

Frequently Asked Questions

Unify Your Email Stack

Connect SendGrid, Mailgun, HubSpot, GoHighLevel, Amazon SES, and more. See cross-platform insights no single tool can provide.

Connect Your Tools

More in Email Infrastructure