I don't think it's necessary to do this yet, but have a look at how http://grails.org/plugin/mail allows you to render templates, meaning that you can extract this sort of "layout" stuff out of groovy code and in to a more suitable format (e.g. gsp)