Add check if the message has already been sent