This section provides quickstarts, samples, tutorials, and other learning resources for Add-ons. The quickstarts provide step-by-step instructions that let you create a working add-on in a few minutes. The Add-on video library provides links to Add-on introductional videos. If you are new to Apps Script, the Apps Script introductory codelab is a walkthrough of Apps Script's basics.
A number of add-on samples are hosted in GitHub repositories, including the code used in the add-on quickstarts. You can fork these repositories and use the code as a reference for your own projects. The OAuth 2.0 library for Apps Script repository is very useful for add-ons that must connect to an external service using OAuth.
In addition to these repositories, the following additional Gmail add-on samples are also available on GitHub:
ExpenseIt! intro codelab
The ExpenseIt! intro codelab is a
structured guide that shows how to build a Gmail add-on that lets users
quickly build expense reports. You can also find the
ExpenseIt! source code
on GitHub. Check out the video for the motivation behind this add-on and to see
it in action.
The GitHub Reader is a sample Gmail add-on that demonstrates using external services to bring rich information into Gmail, as well as contextual triggering based on email content. It triggers in response to messages that contain GitHub-issued links or pull requests. It also displays additional relevant information about those links or pull requests.
The Meeting Assistant Gmail add-on makes it easy to create meetings from email threads. It demonstrates interactivity and use of the Calendar API service.