552 5.3.4: Your message exceeded Google’s message size limits
Gmail’s 552 5.3.4 error, “Your message exceeded Google’s message size limits,” means the email is too big for Google: Gmail takes 25 MB of attachments per email, from a Gmail account or Google Workspace. That email didn’t go. It isn’t a daily limit and nothing is wrong with your account: the same email with smaller files, or a link instead, goes out normally. The figures are in the guide to Gmail’s attachment size limit.
Gmail
552-5.3.4 Your message exceeded Google's message size limits. To view our message size guidelines, go to https://support.google.com/mail/?p=MaxSizeError
- 552 5.3.4 The size of your message (… bytes) exceeded Google's message size limits of … bytes.
- 552 5.2.3 Your message exceeded Google's message size limits.
Why it happens in a mail merge
A mail merge with attachments puts a file in every email, often the same one. If that file is over the limit, every email is, and each gets the same reply. Gmail’s own window would have turned the file into a Google Drive link by itself, but an app sending through Gmail can’t, so Gmail refuses the email instead.
It happens the other way round too. Google Workspace accounts receive emails of up to 50 MB (Enterprise Plus: 70 MB), counted after encoding, which Google says adds about 37% to the size, and at most 500 attachments. Sent from a mailbox or service that allows bigger emails, a large one to a Workspace address comes back with its size in bytes.
How to fix it
- Add up the attachments
Count every file in one email together. Gmail’s limit is 25 MB in all, not per file, and the email’s own text and pictures count too.
- Make the files smaller
Save the PDFs or pictures at a smaller size, or send fewer files in each email, until the total is under the limit.
- Send a link instead
For files over the limit, Google’s advice is Google Drive or another file-sharing service: put the file there and send its link. Writing to people on another provider, check attachment size limits by provider too, since theirs may be lower.
What DearByDear does
DearByDear measures each person’s email as it will be sent, attachments and encoding included, before the merge starts. An email over Gmail’s limit is listed in Check and send, with what to do: “To send them too: zip the files, make the PDFs smaller, or share a link (OneDrive, Google Drive) instead of attaching.” Tick Skip them and send the rest, and everyone else’s email goes. People whose own provider accepts less, such as iCloud Mail, are pointed out too.
If a server on the way still refuses an email for its size, only that person fails. DearByDear doesn’t send the same email again by itself, and doesn’t put the address on the Do-Not-Disturb list: nothing is wrong with it.
Questions about 552 5.3.4
How do I fix “Your message exceeded Google’s message size limits”?
Bring the attachments under 25 MB in total, or put the files in Google Drive and send the link. The rest of the email can stay as it is.
Does Gmail count the attachments before or after encoding?
Before, when you send: Google says Google Workspace’s 25 MB is the message’s content and attachments before encoding, so you don’t need to allow for the 37% encoding adds. What a Workspace account receives is counted after encoding.
What about “Your message exceeded Google’s message header size limits”?
The same code for another part of the email: its headers, not its files. Google takes a Subject of up to 998 characters and 500 KB of headers in all, so a field that puts a long text into the Subject can pass it. Shorten the Subject.
Is 552 5.2.3 the same error?
Yes, when the words after it are Google’s: Google’s list of Gmail’s errors gave 5.2.3 for “Your message exceeded Google’s message size limits” in early 2024. The fix is the same.
What does 552 5.7.0 “…content presents a potential security issue” mean?
That Gmail blocked the email for what an attachment is, not for its size: “This message was blocked because its content presents a potential security issue.” Gmail doesn’t allow certain file types, such as .exe, .js or .iso, even inside a .zip, nor documents with malicious macros or password-protected archives that hold other archives; links or images that might spread viruses can set it off too. Google’s way around it is to put the file in Google Drive and send it as a Drive attachment. DearByDear checks each email’s size before sending, not its file types, so this refusal fails only the people given that file and leaves their addresses alone.
Sources
Each provider’s own pages, read on November 5, 2026. The error texts and the fixes are the providers’ own: if they change their wording, theirs is right.