On Windows, you can simply right click to add a text file to a folder, which is very convenient, but Mac does not support it by default. 

To do that, you can use this apple script 

“tell application “Finder” to make new file at (the target of the front window) as alias”

Open script editor, save as an applescript application to a known location I use /Applications/Scripts and then drag it to the toolbar. Note that you don’t just save it, you choose “Application” as the extension for your script before you save it. 

This will create a text file untitled in the current folder.

(source: http://superuser.com/questions/14118/easiest-way-to-create-a-new-text-file-in-a-finder-window-on-osx)

Sometimes you want to create a text file for an email you receive. To do that, please following this post: http://www.mactips.info/2011/01/how-to-create-a-simple-service-to-append-text-to-a-file

Using automator, I created a service that allows me to highlight a piece of text in my email, right click and save it as a text file on my desktop. This is handy to organise all the relevant information in a folder.

Written by Shengdong Zhao

Shen is an Associate Professor in the Computer Science Department, National University of Singapore (NUS). He is the founding director of the NUS-HCI Lab, specializing in research and innovation in the area of human computer interaction.