← All Posts
Tutorial

Complete Email Authentication Setup: SPF, DKIM, DMARC, BIMI in 2026

Email authentication in 2026: what's changed

Email authentication has evolved significantly. Google and Yahoo now strictly enforce SPF and DKIM for all senders, and DMARC is required for bulk senders (5,000+ emails per day). But the biggest change in 2026 is the growing adoption of BIMI (Brand Indicators for Message Identification), which displays your brand logo next to your emails in supporting inboxes. BIMI is built on top of DMARC with p=quarantine or p=reject, so getting your foundational authentication right is a prerequisite. Setting up all four protocols — SPF, DKIM, DMARC, and BIMI — gives you maximum deliverability and visual brand recognition.

SPF: updated best practices

SPF (Sender Policy Framework) authorizes which servers can send email for your domain. In 2026, SPF best practices have evolved: keep your SPF record under 10 DNS lookups (the protocol limit), use include mechanisms for each email service you use, avoid using the +all mechanism (it authorizes everyone), and prefer ~all (soft fail) while working toward -all (hard fail) once you've confirmed all legitimate senders. Common mistake: forgetting to include all services that send email for your domain — your email API, corporate email (Google Workspace, Microsoft 365), CRM, marketing tools, and any SaaS that sends on your behalf. Use SPF flattening tools if you're hitting the 10-lookup limit.

DKIM: key rotation and management

DKIM adds a cryptographic signature to every email. In 2026, use 2048-bit RSA keys (minimum) or Ed25519 keys for better performance. Key rotation is critical — rotate DKIM keys every 6-12 months to maintain security. When rotating, publish the new key in DNS, start signing with the new key, keep the old key published for 48 hours (for in-flight emails), then remove the old key. AISend handles DKIM key generation and rotation automatically. When you add a domain, we provide the CNAME records to publish, and we manage key rotation behind the scenes.

DMARC: from monitoring to enforcement

DMARC ties SPF and DKIM together by telling receivers what to do when authentication fails. The recommended rollout path: start with p=none (monitoring only) and add a rua= address to receive aggregate reports. Analyze reports for 2-4 weeks to identify all legitimate email sources. Fix any sources failing SPF or DKIM. Move to p=quarantine with pct=10 (apply to 10% of failing emails). Gradually increase pct to 100. Finally, move to p=reject for maximum protection. DMARC aggregate reports are XML files that show you who is sending email as your domain and whether they pass authentication. Tools like DMARCian or Postmark's DMARC monitoring can parse these reports into readable dashboards.

BIMI: brand logos in the inbox

BIMI is the newest email authentication standard. It displays your brand logo next to your emails in Gmail, Yahoo, and other supporting clients. Requirements: a DMARC policy of p=quarantine or p=reject, a square SVG logo in Tiny PS format, and a Verified Mark Certificate (VMC) from a certificate authority like DigiCert or Entrust. The VMC costs around $1,500/year and requires trademark verification, making BIMI primarily relevant for established brands. To set up BIMI, publish a DNS TXT record at default._bimi.yourdomain.com with the URL to your SVG logo and VMC. While BIMI doesn't directly affect deliverability, the brand recognition it provides in the inbox improves open rates and user trust, which indirectly boosts your sender reputation.

Ready to Send Smarter Emails?

3,000 emails/month free. No credit card required.