The workflow component, Render email HTML (which is an advanced create document workflow component) accepts XML as input and generates an HTML file, that e.g. can be saved into the file system with the to filesystem component.
The Render email HTML component merge an input XML file with an HTML template and generates an HTML file as output.
The Render email HTML component has this parameter:
Email template
An HTML template to merge the input XML with.