Note: added after answer: Thanks.. Yeah I had tried the Flag.SEEN to true and saveChanges.. I also had read getContent marks it read. I tried using it in the for statement that
Well this post is old but the easiest solution hasn´t been posted yet.
You are accessing the Message. message.setFlag(Flag.SEEN, true);