If you want a simple email with either a text or html as input, then you can setup workflows like below.
Here is a workflow, which waits for a text file in a folder. When a text file is found an email is generated where the contents of the email is simply the contents of the incoming text file: