Using Googlesheet API, let the program get accessed to the specific googlesheet and detect the empty cell automatically and fill it with the necessary values, everytime the new email arrives, script notify it and update it every single time and send it back to original sender.