View Single Post
With a little ghetto debugging, here is where the script is failing:

set theText to subject of theMessage & return & content of theMessage


This is in the process_message function.