Anyone aware of what the problem is here? It has worked multiple times, even with
const htmlForEmail = htmlTemplate.evaluate().getContent(); and now it seems
const htmlForEmail = htmlTemplate.evaluate().getContent();