||Creating Email Templates with XML|
|Subject:||Using JSP as template|
This is a great article! Another approach I am trying is to use JSPs as a template. Gather up all the args and do a HTTP POST to a JSP. The JSP performs the formatting, I18N, etc (event html/text) and you read the response back to include in your email body.