 <ol> <li><p>You can put the email body in a properties file and read it from there. </p></li> <li><p>For substitution, you can define "placeholder" in your String like {FIRSTNAME} {LASTNAME} etc., and then do a replaceAll for the dynamic portions in your code.</p></li> </ol>