Fix for Key Not Found Error in Email Template Content Parsing