
Start by writing the code for a simple version of the add-on that displays an expense form alongside an email.įirst, create a new Apps Script project and open its manifest file. To get the sample code, from the command line, run: git clone This GitHub repository contains sample code that you can use as a reference. Some messages, preferably email receipts, in GmailĪs you work through this codelab, it might be helpful to reference a working version of the code you'll write.Access to the internet and a web browser.


In this codelab, you'll use Google Apps Script to write a Google Workspace Add-on for Gmail that lets users add receipt data from an email to a spreadsheet directly within Gmail.
