title: Call a Google Apps Script function in HTML
body: <p>I coach a sports team and set up a website for it. I would like to add a button to an admin page which I can click to quickly send an email to everyone on the team. This email will say something like: "Today's schedule has changed, please visit the website  for more info."</p>
  
  <p>I am sure this could be achieved easier though a distribution list in outlook or something, but I want to use, and get a better understanding of, Google Apps Script.</p>
  
  <p>I have a Google Spreadsheet with the email addresses and a simple script function which sends the email.</p>
  
  <p>This works great when I click to run it inside the script editor, but is there a way to call this from an external website with a button and some JavaScript?</p>