Loading a mail template by its name (Magento 1)

Use the below code to load a Magento transaction mail template by its name:

Getting mail template content by name (Magento 1)

Use the following code to get a mail templates content by its name:

Changing mail template content by id programmatically (Magento 1)

To change the content of a Magento mail template by its id, use the following code: