How it works

1. A schedule trigger starts the run every hour. 2. PostgreSQL runs a SQL query that returns the users updated in the last hour, excluding internal email addresses. 3. For each returned user, Google Sheets appends a row with the id, username and email.