Notify correctly when there are new messages.