NXP-15493 use configuration in mail template
NXP-15493 inject configuration in template