TL;DR
Save the entire SMTP reply, including continuation lines. If Gmail mentions your IP without giving the address, look up the public sending IP for that attempt. For a domain or Message-ID, match it to your logs. For a general rate warning, compare recent traffic to Gmail.
What this code means
IANA registers X.7.28 as “Mail flood detected”. The receiver suspects that the message belongs to a flood of similar abusive messages. Gmail documents several uses of 421 4.7.28, each with its own wording.
The captured replies below name two different sources, a sending IP and an SPF domain. Compare the wording with the diagnostic steps for the other documented Gmail variants.
Provider examples
421 4.7.28 [x.xx.xx.xx] Our system has detected an unusual rate of unsolicited mail originating from your IP address. To protect our users from spam, mail sent from your IP address has been temporarily rate limited. Please visit https://support.google.com/mail/?p=UnsolicitedRateLimitError to review our Bulk Email Senders Guidelines. - gsmtp<data.sethu@gmail.com>: host alt1.gmail-smtp-in.l.google.com[142.251.9.26] said: 421-4.7.28 Gmail has detected an unusual rate of unsolicited mail originating 421-4.7.28 from your SPF domain [sethu.on.acme.email 15]. To protect 421-4.7.28 our users from spam, mail sent from your domain has been temporarily 421-4.7.28 rate limited. Please visit 421-4.7.28 https://support.google.com/mail/?p=UnsolicitedRateLimitError to 421 4.7.28 review our Bulk Email Senders Guidelines. j18-20020a508a92000000b00534235955d5si930283edj.153 - gsmtp (in reply to end of DATA command)Technical meaning
The number 421 and leading 4 in 4.7.28 mark a temporary failure. Gmail can limit traffic associated with an IP, a network, an authenticated domain, a domain appearing in links, or a Message-ID reused too often. The general wording names no particular source.
Delivery status
This attempt was deferred. Even the Gmail IP variant that says temporarily blocked can be retried once the affected traffic has slowed.
- Class
- Temporary failure
- Retry
- Controlled retry
- Suppression
- Check the full context
Retry decision
Keep the deferred delivery in the queue and increase the delay between attempts. Reduce new traffic in the affected group. Once Gmail accepts messages again, raise the rate gradually and check for fresh deferrals.
Suppression decision
Keep the recipient eligible for delivery. A decision to suppress the address requires separate evidence about that recipient.
Common causes
- Mail from several campaigns can share a sending IP, a signing domain or a domain in their links. A burst in one campaign can therefore affect attempts from another.
- A job that submits the same message repeatedly can exhaust the quota for its Message-ID. Check for duplicate submissions when Gmail mentions that header.
Diagnostic steps
- General rate warning. If no identifier is given, compare recent Gmail deliveries per minute with the normal rate for each campaign or application. Check when deferrals began.
- Sending IP. For an unusual-rate warning or a temporary block for unsolicited traffic, check which sends shared the public outbound IP during the spike. If the reply just says “your IP address”, use the attempt time and queue ID to find the IP in your mail server or email provider logs. Behind NAT, confirm the translated public address in the gateway logs.
- IP Netblock. Ask your provider which other sending IPs belong to the named range. Compare deferrals across the pool and coordinate the slowdown with the provider.
- SPF domain. Find the named domain in the SMTP envelope sender (MAIL FROM) and group traffic that uses it. This reply concerns sending patterns and does not establish an SPF failure.
- DKIM domain. Match the domain to d= in DKIM-Signature and check which applications sign with it. Review their recent volume and complaints.
- URL domain. Inspect links in the deferred messages, including tracking and redirect links. Identify the campaigns that share the domain and review their audiences and volume.
- Repeated Message-ID. Group submissions by the exact header value. Look for a job sending duplicate copies or assigning the same ID to distinct messages. Fix duplicate generation and preserve the original ID when retrying one queued message.
Actions by owner
Sender
- Ask the sending administrator for the full reply and send time. If the report names a domain in a link, provide the actual message so they can find that link.
- If a separate authentication problem appears in the headers, check SPF, DKIM, and DMARC for the affected sending stream.
Sender administrator
- Group the affected deliveries by the identifier Gmail gave. Compare rejected attempts with mail Gmail accepted in the same period.
Recipient administrator
- If a user reports missing mail, give the sender the recipient address and approximate send time so they can find the deferred delivery.
Provider
- For a netblock warning on a shared pool, identify the affected range and coordinate rate changes across its senders.
- Escalate through Gmail postmaster support only if the rate limit persists well past a reasonable remediation window despite confirmed authentication and volume changes.
Sources
The Gmail error table gives the individual responses. IANA defines the generic X.7.28 pattern.
- Gmail SMTP errors and codes — Official Gmail Help table of SMTP error messages and status codes.
- SMTP Enhanced Status Codes — IANA registry of enhanced mail system status codes.
- RFC 3463 — Enhanced Mail System Status Codes — Defines the class/subject/detail model for enhanced status codes.
- RFC 5248 — A Registry for SMTP Enhanced Mail System Status Codes — Creates and governs the IANA enhanced status code registry.
- Fix bounced or rejected emails — Gmail Help article covering disabled-account and bulk-sender rate-limit responses.
- email-bounce-parser (test fixture corpus) — Open-source bounce-parsing library whose test fixtures are pinned locally as evidence.
Last verified:

