fixed set as read and delete in incoming messages