notifyNewMessage and readMessage apis done