I have tweaked the standard jelly template to display the current test results in a table, however I really want to be able to display diffs as seen in Jenkins own test resu
If you are struggle on how to access it via internal API (difficult to know and it exists limitation always), there is another more flexible way to do it.
Using FILE token instead of groovy template
email.html
under the workspaceDefault Content
form in the email-ext configuration, using FILE token to send the email directly ${FILE, path="email.html"}
In step 1 above, you can also use more flexible way for your own template, I use python script and simple string Template.
It works perfect for me.