resend.publishTemplate publish the current version of a Resend template.
automations/resend-publishTemplate.automation.ts
template accepts an ID or alias. Publishing makes the current version available to email sends and returns the template ID. Optional second argument { account } selects the Resend account binding.