NXP-15493 udpate mail temmplate to use a map instead of doc