Add check to see if body tag is there to extract the messages.