Adding autocomplete email address list in google script

Viewed 46

I am try to add autocomplete list email in my function. Right now, i key in the email address manually, so i have to write or copy all. it should be more efficient if the there autocomplete feature. Here is my code sample:

function getemail(){

  var ui_user = SpreadsheetApp.getUi();

  var result = ui_user.prompt("Enter Receiver Email:");
  return result.getResponseText();

}

is GAS can search our contacts email address then query it all?

1 Answers
Related