Is there any utility methods in Salesforce that evaluate a formula expression in the form of String? The reason I need this is I'm building my own custom Lightning component to send Email. This component should be able to retrieve Classic Email Templates and render accordingly. However user's can defined formula expressions for example
{!IF(ISBLANK(Case.Resolution__c),'',Case.Resolution__c)}
I want to be able to read Email Templates and be able to convert all formula fields defined into the evaluated values.