Env variables not accessible in email

We are using email extension plugin for sending emails in jenkins, but in email we are getting
Build failed in Jenkins: ${env.JOB_NAME} ${JELLY_SCRIPT, template="jenkins"}

plugin version - 2.63 jenkins version - 2.319.3
variable value is not coming, also tried downgrading the plugin version to 2.58 but it didn’t worked, when i echoed them in build section, it is printing the value in console output, can someone please help here?

Can you try just ${JOB_NAME} without the env.?

Tried but not working

Do you have the EnvInject plugin installed?

yes i have installed