Skip to main content
Delivering email reliably requires more than a working API integration. Your sender reputation, list quality, content, and authentication setup all affect whether emails reach the inbox or land in spam. This page consolidates the most impactful practices for maintaining high deliverability and building robust email integrations.

Sender Reputation

Your sender reputation is a score that email providers assign to your domain and IP based on your sending history. A strong reputation means emails reach the inbox; a poor one means they get filtered to spam or rejected entirely.

Warm Up New Domains

Email providers are suspicious of domains that suddenly start sending high volumes. Ramp up gradually over several weeks so providers can observe your sending patterns and build trust:
Sending high volumes immediately from a new domain can trigger spam filters and damage your reputation.

Monitor Key Metrics

Track these metrics to maintain good deliverability:

List Hygiene

Sending to invalid or unengaged addresses is the fastest way to damage your reputation. Maintaining a clean recipient list reduces bounces, complaints, and wasted sends.

Validate Email Addresses

Filter out obviously invalid addresses before they reach the API. Basic format validation catches typos and malformed entries:

Use Double Opt-In

Confirm subscriptions to ensure valid, engaged recipients:

Handle Bounces Promptly

When an email hard-bounces, the address is permanently invalid. Continuing to send to it hurts your reputation. Set up a webhook handler to remove hard-bounced addresses from your lists immediately:

Content Best Practices

The content of your emails affects both deliverability and engagement. Spam filters analyze subject lines, HTML structure, link quality, and text-to-image ratios when deciding whether to deliver your email to the inbox. Unsubscribe links are legally required by CAN-SPAM and GDPR for marketing emails, and Google and Yahoo now require List-Unsubscribe headers for bulk senders. Including a clear unsubscribe mechanism also improves deliverability because recipients who can easily opt out are less likely to report your email as spam:

Use Clear Sender Information

Recipients are more likely to open emails from a recognizable sender. Use a consistent from_name that matches your brand, and set a reply_to address that reaches a real person or team:

Optimize Subject Lines

Subject lines determine whether recipients open your email. Keep them under 50 characters so they display fully on mobile devices, avoid all-caps words and spam trigger phrases (FREE, URGENT, ACT NOW) that filters flag, and personalize with the recipient’s name or relevant details when possible:

Technical Best Practices

Building a reliable email integration means handling failures gracefully, avoiding duplicate sends, and minimizing unnecessary API calls.

Implement Idempotency

Network failures and retries can cause the same email to be sent more than once. Use a database flag or distributed cache to track whether an email has already been sent for a given business event before calling the API:

Use Webhooks Instead of Polling

Polling the API for delivery status wastes rate limit budget and introduces latency. Webhooks push events to your server the moment they occur, giving you real-time updates without any polling:

Handle Errors Gracefully

Distinguish between errors that should be retried (rate limits, server errors) and errors that indicate a problem with your request (validation, authentication). Use a job queue with exponential backoff for retryable errors:

Authentication Setup

Domain authentication is the foundation of good deliverability. Without SPF, DKIM, and DMARC, email providers have no way to verify that you’re authorized to send on behalf of your domain, and your emails are far more likely to be filtered or rejected.

Complete Domain Authentication

Set up all four authentication records for the strongest deliverability:
1

SPF Record

Authorizes Lettr to send on your behalf
2

DKIM Signing

Cryptographically signs your emails
3

DMARC Policy

Protects against spoofing
4

Custom Tracking Domain

Improves deliverability for tracked links

Domain Setup Guide

Complete guide to domain authentication

Checklist

  • Verify sending domain
  • Set up DKIM and SPF
  • Configure DMARC
  • Set up tracking domain (optional)
  • Configure webhooks
  • Test with small batch
  • Validate recipient addresses
  • Include unsubscribe link
  • Include plain text version
  • Test email rendering
  • Check subject line length
  • Monitor bounce rates
  • Remove hard bounces immediately
  • Review spam complaints
  • Clean inactive subscribers
  • Update DNS records if needed