slipstick.me
Move email items based on a list of email addresses
This code sample shows how to load the contents of a text file into an array then use the array to do something, in this example, to move messages to a new folder.