title: How to show a progress report to the user in Google Apps Script?
body: <p>I have a simple script that will send out a bunch of emails but these take time to send and I want to show the user a scrolling window with the emails addresses as they are sent (or, a progress bar would be good too). I believe this is possible with the new <a href="http://code.google.com/googleapps/appsscript/guide_user_interfaces.html" rel="nofollow noreferrer">User Interface Classes</a>, but I can't get it to work. The documentation is kinda sparse.</p>
  
  <p>Specifically, the problem is that the GUI window that pops up appears blank until all the emails have been sent (the script ends) and then the text appears. This happens even if I call  <code>show(myapp)</code> after every time I update the Label.</p>