Basic use of a script to capture text from an email

This example extracts the first word of the email body. It also opens a TXT file and stores its contents as a field.