Google Apps Script for Scanmail