I'm trying to display HTML page content into the body of the Jenkins email, i added the following code to the default content section in Editable Email plugin:
${FILE,path="/target/surefire-reports/html/index.html"}
also i tried to add the following code to Pre-send Script in the Email plugin:
def reportPath = build.getWorkspace().child("HealthTestResults.html")
msg.setContent(reportPath.readToString(), "text/html");
both of the two way didn't work and i'm still receiving empty mails.