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

Changing mail template content by id programmatically
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: