examining messages + cleaning up ids + extracting the message bodies