Reading an email.

Check out this page.

this one may be easier to understand, the example can be found in the Arduino examples

Im trying to simplify this for you myself, but maybe someone else already has a code you can try.

A very poor way of doing it would be to read in a character, store it in a string or array, and using an IF statement, compare it to the word you want.

pseudo:

void loop() {
if(Serial.available())
{
   charData = Serial.read(); //Hi, my name is Andrew

if(charData == ' ' || charData == '\n') // if a space " " is found or a new line is made
{
   if(StringIn == "Andrew"){ //does the string match? :: made an edit from ' ' to " "
      Serial.println("Andrew was found!"); //string does match
      }
   else {
       Serial.println("Andrew was NOT found!"); //string does NOT match
       StringIn = ""; //clear string for new data
       }
     }
 else StringIn += charData; //if string does not equal " ", then store data into string
  } 
}

EDIT: code is now compiled, but not tested. I dont have my stuff with me today, sorry.

Something along the lines of this. I do NOT reccommend this though