4Mb in the maximum size for the JSON document the server will accept, I believe its a standards reason and most JSON parsers have this limitation eg https://www.ibm.com/docs/en/datapower-gateway/10.0.1?topic=20-json-parser-limits
EWS or SMTP would be the other solutions as they aren't going to have that restriction.