E-mail templates, in general, are rendered the same as any JSP page and can use the current site context to customize their content so that it is site-specific. When creating e-mail templates, keep in mind the following two caveats:
All URLs in an e-mail template must be fully qualified. Using the
SiteLinkDroplet
servlet bean to create any URLs ensures that they will be fully and properly formed, so you should use it for all links in e-mail templates.E-mail templates cannot link to cascading style sheets and, therefore, should instead use inline styles.
Commerce Reference Store includes a number of e-mail templates that you can use as examples in its store.war/emailtemplates
directory.