Hi, We've had the similar requirement, finally, we use a groovy template and a custom step from our shared pipeline library to make the thing, we got the idea from this nice article Prettifying Jenkins’ email notifications <https://medium.com/faun/prettifying-jenkins-email-notifications-2311b09fea74>
References Extending with Shared Libraries <https://jenkins.io/doc/book/pipeline/shared-libraries/> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0e1b9034-f0d2-4601-8f77-b33bdd44a134%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.