Create a function to mark messages as unread in GWT.