Why the target is 18 MB and not 25 MB
Email turns attachments into text before sending, which adds roughly a third to their size. A file of 18 MB can therefore reach about 24 MB inside the message, just under a 25 MB limit. A file that is already under 18 MB is returned unchanged. The exact limit depends on your provider, so check it if the message matters.