The following example shows you how to find unread messages and how to mark messages as read(update IS_READ property). During update (method updateMessage) you can specify which properties you want to update. All other update* methods have the same functionality.