There is a “Maximum attachement size” field on the DWA tab of the server configuration document. There is also a “Maximum size of request content” field on the Internet Protocols/HTTP tab of the server document.
But the requirement is if the parameter is set in server document it will be applied to all. The reason I want in Template is we can add the restrcition on selective users, that also while sending the mail.