I'm using logic hooks to set up workflows. The process manager is still too buggy for me to use. But instead of hardcoding email messages in code I would prefer to create them in the new Process Email Template module and then just use the email template id to send a message through code. This would allow for an easy way to update the templates.
Could anyone show me how to use the new Process Email Template in code to achieve it, please?