In short. Gmail refused your email on purpose, and the exact wording of the error tells you why. There are four possible reasons, from content that looks like spam to a sending limit reached. Read the sentence after 550 5.7.1 in your bounce, then follow the matching fix below.
550 5.7.1 is a permanent Gmail rejection linked to its policy or content rules. Google lists four messages under this code, each with a different fix, so the text that follows the code matters more than the code itself.
Last verified: November 26, 2026, against Google Workspace's official list of Gmail SMTP errors.
The four messages and their fix
| Message in your bounce | Meaning (Google) | Fix (Google) |
|---|---|---|
This message is likely unsolicited email. | Gmail considers the message spam and blocked it. | Authenticate your mail, send only to recipients who agreed to receive it, and review the content. |
The IP you're using to send email is not authorized to send email directly to our servers. | Your server sends directly to Gmail from an IP that is not allowed to. | Relay through your provider's SMTP relay service. |
Messages missing a valid Message-ID: header are not accepted. | The message breaks RFC 5322 header rules. | Correct the headers so they comply with RFC 5322. |
Daily SMTP relay sending limit exceeded for this customer. | The domain's daily relay quota is used up. | Wait for the quota to reset, or ask your administrator to review it. |
If it is the "likely unsolicited" message
This is the most common one for small senders. Work through the basics:
- Check that SPF, DKIM and DMARC pass with your own domain (see 550 5.7.26).
- Remove recipients who did not ask for your emails.
- Compare your practices with Google's email sender guidelines.
- Send a small test to a Gmail address, then open it and choose Show original to read the authentication results.
Free tool. SPF checker · DKIM checker · DMARC checker
Check your domain for free. AttackScout reads your public SPF, DKIM and DMARC records and tells you what to change. Run the free check
Frequently asked questions
Is 550 5.7.1 always about spam?
No. Only one of the four messages is. The others concern an unauthorized sending IP, a missing Message-ID header and a daily relay limit.
Does the same code exist at Microsoft?
Yes, with other meanings: Microsoft lists "Delivery not authorized", "Unable to relay" and "Client was not authenticated" under 5.7.1 in Exchange Online. See error 5.4.1 and relay errors.
Related pages
Sources
Accessed on 11/26/2026.
- Google Workspace Admin Help, Gmail SMTP errors and codes: https://knowledge.workspace.google.com/admin/support/troubleshooting/gmail-smtp-errors-and-codes
- Google, Email sender guidelines: https://support.google.com/mail/answer/81126
- Microsoft Learn, Email nondelivery reports (NDRs) and SMTP errors in Exchange Online: https://learn.microsoft.com/en-us/troubleshoot/exchange/email-delivery/ndr/non-delivery-reports-in-exchange-online