Hello Stack Overflow,
I am having difficulties refactoring my code. It turns out when I create an element in another function createEmailPreview and add
createEmailPreview