Operations & Infrastructureadvancedtechnicalcore

Email sending infrastructure

Learn about email sending infrastructure including SMTP servers, email service providers, and technical setup for cold email.

13 min read Operations & InfrastructureUpdated 2026-04-22

# Email sending infrastructure

Email sending infrastructure is the technical foundation of cold email operations. The quality and configuration of your infrastructure directly impacts deliverability, scalability, and reliability. This lesson covers the essential components of email sending infrastructure and how to set it up for successful cold email campaigns.

Key Takeaways
- Use reputable email service providers

* - Proper authentication is non-negotiable * - Warm up infrastructure before scaling * - Monitor infrastructure health continuously

Infrastructure components

Core elements

Email Service Provider (ESP):

  • SMTP relay services
  • API-based sending
  • Deliverability infrastructure
  • Analytics and reporting

Authentication protocols:

  • SPF (Sender Policy Framework)
  • DKIM (DomainKeys Identified Mail)
  • DMARC (Domain-based Message Authentication)
  • BIMI (Brand Indicators for Message Identification)

Technical infrastructure:

  • SMTP servers
  • IP addresses
  • Domain names
  • DNS configuration

Infrastructure types

Shared infrastructure:

  • Shared IP addresses
  • Shared sending domains
  • Pool resources with other senders
  • Lower cost, less control

Dedicated infrastructure:

  • Dedicated IP addresses
  • Dedicated sending domains
  • Isolated resources
  • Higher cost, more control

Hybrid infrastructure:

  • Mix of shared and dedicated
  • Flexible scaling
  • Balanced cost and control
  • Common for growing operations

Email service providers

Major ESPs

Cloud providers:

  • AWS SES (Simple Email Service)
  • Google Workspace SMTP
  • Microsoft 365 SMTP
  • SendGrid (Twilio)

Specialized ESPs:

  • Mailgun
  • Postmark
  • SparkPost
  • Mailchimp Transactional

Cold email platforms:

  • Lemlist
  • Instantly
  • Smartlead
  • Woodpecker

Selection criteria

Deliverability:

  • Provider reputation
  • Infrastructure quality
  • Deliverability tools
  • Support resources

Features:

  • API availability
  • Webhooks
  • Analytics and reporting
  • Integration options

Scalability:

  • Volume limits
  • Pricing tiers
  • Performance at scale
  • Geographic distribution

Support:

  • Technical support quality
  • Documentation quality
  • Community resources
  • Response times

ESP comparison

AWS SES:

  • Pros: Cost-effective, scalable, reliable
  • Cons: Steeper learning curve, basic UI
  • Best for: Technical teams, high volume

SendGrid:

  • Pros: Good deliverability, easy setup, good docs
  • Cons: Pricing at scale
  • Best for: General use, mid-market

Mailgun:

  • Pros: Powerful API, flexible, good for developers
  • Cons: Can be complex for non-technical users
  • Best for: Developers, custom integrations

SMTP configuration

SMTP basics

SMTP protocol:

  • Simple Mail Transfer Protocol
  • Standard for email transmission
  • Port 587 (TLS) or 465 (SSL)
  • Authentication required

Connection types:

  • TLS (Transport Layer Security)
  • SSL (Secure Sockets Layer)
  • STARTTLS
  • Plain text (not recommended)

Configuration parameters

Connection settings:

  • Host: SMTP server address
  • Port: 587 (TLS) or 465 (SSL)
  • Encryption: TLS or SSL
  • Authentication: Required

Authentication methods:

  • Username/password
  • API keys
  • OAuth 2.0
  • Client certificates

Configuration example

Typical SMTP config: ``` Host: smtp.sendgrid.net Port: 587 Encryption: TLS Username: apikey Password: SG.xxxxxxxx ```

API-based sending:

  • REST API endpoints
  • Webhook notifications
  • Batch sending
  • Real-time status

Domain and IP management

Domain strategy

Sending domains:

  • Primary sending domain
  • Backup sending domains
  • Subdomain strategy
  • Domain rotation

Subdomain approach:

  • mail.yourdomain.com
  • send.yourdomain.com
  • news.yourdomain.com
  • Multiple for rotation

IP address management

IP types:

  • Shared IPs
  • Dedicated IPs
  • IP pools
  • IP warm-up

IP warm-up:

  • Gradual volume increase
  • Start with low volume
  • Monitor reputation
  • Scale over 2-4 weeks

DNS configuration

Required records:

  • SPF records
  • DKIM records
  • DMARC records
  • PTR (reverse DNS) records

DNS management:

  • DNS provider
  • TTL settings
  • Propagation time
  • Monitoring

Authentication setup

SPF configuration

Record structure: ``` v=spf1 include:sendgrid.net ~all ```

Best practices:

  • Limit to 10 lookups
  • Use ip4 for known IPs
  • Start with soft fail (~all)
  • Move to hard fail after testing

DKIM configuration

Key generation:

  • Generate key pair
  • 1024-bit or 2048-bit
  • Selector naming
  • Key rotation schedule

DNS publishing:

  • TXT record format
  • Selector._domainkey
  • Public key value
  • Propagation monitoring

DMARC configuration

Policy progression:

  • Start with p=none
  • Move to p=quarantine
  • End with p=reject
  • Monitor reports throughout

Reporting setup:

  • RUA (aggregate reports)
  • RUF (forensic reports)
  • Report analysis
  • Policy adjustment

Infrastructure scaling

Scaling strategies

Vertical scaling:

  • Upgrade ESP plan
  • Increase sending limits
  • Add dedicated IPs
  • Improve infrastructure

Horizontal scaling:

  • Add more sending domains
  • Increase IP pools
  • Distribute load
  • Geographic distribution

Load balancing:

  • Round-robin sending
  • Weighted distribution
  • Performance-based routing
  • Failover mechanisms

Capacity planning

Volume projections:

  • Current sending volume
  • Growth projections
  • Seasonal variations
  • Campaign requirements

Resource allocation:

  • IP address requirements
  • Domain requirements
  • ESP plan requirements
  • Budget considerations

Monitoring and maintenance

Infrastructure monitoring

Key metrics:

  • Delivery rates
  • Bounce rates
  • Complaint rates
  • Response rates
  • Latency

Monitoring tools:

  • ESP dashboards
  • Custom monitoring
  • Alerting systems
  • Log analysis

Health checks

Regular checks:

  • DNS record validation
  • Authentication verification
  • IP reputation checks
  • Domain reputation checks

Automated monitoring:

  • Continuous monitoring
  • Threshold-based alerts
  • Anomaly detection
  • Performance tracking

Maintenance tasks

Regular maintenance:

  • Key rotation (DKIM)
  • DNS record updates
  • IP warm-up for new IPs
  • Domain refresh

Documentation:

  • Infrastructure documentation
  • Configuration records
  • Change logs
  • Troubleshooting guides

Security considerations

Security best practices

Authentication:

  • Strong passwords
  • API key management
  • Regular key rotation
  • Access controls

Encryption:

  • TLS/SSL for all connections
  • Encrypted storage
  • Secure key management
  • Compliance requirements

Access control:

  • Role-based access
  • Principle of least privilege
  • Audit logging
  • Regular access reviews

Compliance

Data protection:

  • GDPR compliance
  • Data retention policies
  • Privacy by design
  • Consent management

Industry compliance:

  • HIPAA (healthcare)
  • SOC 2 (SaaS)
  • PCI DSS (payments)
  • Regional regulations

Troubleshooting

Common issues

Delivery failures:

  • Authentication errors
  • DNS configuration issues
  • IP reputation problems
  • Rate limiting

Performance issues:

  • Slow delivery
  • High latency
  • API rate limits
  • Infrastructure bottlenecks

Diagnostic approach

Step 1: Identify symptoms

  • What's failing?
  • When does it fail?
  • Who is affected?
  • What changed recently?

Step 2: Check basics

  • Authentication valid?
  • DNS records correct?
  • Infrastructure up?
  • Limits exceeded?

Step 3: Analyze logs

  • Error messages
  • Response codes
  • Timing data
  • Correlation with events

Step 4: Implement fix

  • Address root cause
  • Test solution
  • Monitor results
  • Document resolution

Best practices

Infrastructure design

Reliability:

  • Redundant systems
  • Failover mechanisms
  • Geographic distribution
  • Backup infrastructure

Scalability:

  • Design for growth
  • Modular components
  • Elastic resources
  • Capacity planning

Maintainability:

  • Clear documentation
  • Standardized configurations
  • Monitoring and alerting
  • Regular maintenance

Operational excellence

Monitoring:

  • Comprehensive monitoring
  • Proactive alerting
  • Performance tracking
  • Trend analysis

Documentation:

  • Infrastructure as code
  • Configuration management
  • Change management
  • Knowledge sharing

Testing:

  • Pre-deployment testing
  • Load testing
  • Failover testing
  • Regular validation

Conclusion

Email sending infrastructure is the technical foundation of successful cold email operations. By choosing the right ESP, configuring authentication properly, scaling appropriately, monitoring continuously, and following security best practices, you can build infrastructure that supports reliable, scalable cold email campaigns.

Your next step should be to audit your current email sending infrastructure and implement the best practices outlined in this lesson.

Previous lesson

Email account management

Sources and further validation

External references support credibility and help the reader validate the topic further.