Simplify and make working the readMarkedMessage method.