I've modified mindless' patch to mesh better with trunk.
One big problem with the this implementation: the project default "is script" doesn't work at all. As a solution, I'd suggest changing the checkbox to a dropdown with the additional options "default", "yes", and "no".
Another problem: there is no global scripting.
> Sending Rich text mail with Hudson
> Key: HUDSON-2175
> URL: http://issues.hudson-ci.org/browse/HUDSON-2175 > Project: Hudson
> Issue Type: Improvement
> Components: email-ext
> Affects Versions: current
> Environment: Platform: All, OS: All
> Reporter: chetan_oct
> Assignee: kohsuke
> Attachments: groovy-email.patch, groovy-email2.patch, html-email.txt
> We migrated from CruiseControl to Hudson recently and found that it is not able
> to send Rich text email. I checked the Email-Extender plugin but the variables
> provided by it are limiting.
> So I modified the plugin to use Groovy SimpleTemplate to generate the email
> content. A user would set the email content in form of Groovy script through UI.
> To the script the build variable would be exposed as a binding
> Using that one can extract whatever information he is interested in and then
> output it in required form