Dumb question, is there an easy way to look up an Email Template's internal ID from its ScriptId? I'm sending an email from script, and I don't want to hard code the internal ID since that can change between environment.
render.mergeEmail only accepts an integer for its scriptId property, and I can't find anything in N/render that helps me look the scriptId up.