Why email rejects large photos
Attachments are encoded as text when they're sent, which makes them about a third bigger on the way. So 20 MB of photos can exceed a 25 MB limit. Shrinking each photo to 1920 pixels at 80% quality brings a typical phone photo to 300 to 600 KB, which keeps a dozen or more well inside any limit.