How to add custom parameters to email subjects

Hi

With the freemarker template mechanism and the FreeMarkerEmailTemplateProvider it’s possible to add custom parameters to keycloak’s email bodies.

We like to add parameters to the subjects as well.
One solution is to implement an own provider which extends the ordinary one. Are there other solutions without implementing an own provider?

Best regards
nocontrol