Gmail Summary

Summary list of recent emails in the user's Gmail matching a search query. Works on Google Apps Script only.

Surfaces
apps-script-web
Fields
FieldType
querystring. The search query (e.g. "is:unread label:work").required
max_resultsinteger. Maximum number of emails to display. Default is 5.optional
Example payload
{
  "type": "gmail_summary",
  "query": "inbox is:unread"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:gmail_summary",
  "displayName": "Gmail Summary",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/gmail_summary",
  "capabilities": [
    "apps-script-web"
  ],
  "description": "Summary list of recent emails in the user's Gmail matching a search query. Works on Google Apps Script only.",
  "representativeQueries": [
    "show a list of recent Gmail messages matching query",
    "summary list of recent emails in the user's gmail matching a search query. works on google apps scri",
    "render a gmail summary"
  ]
}
← Full ARD catalog Try it live →
Deploy your own renderer

The renderer is open source. Deploy your own instance in 4 commands — you own the URL, no dependency on the demo endpoint.

git clone https://github.com/a2uicatalog/a2ui
cd apps-script-surface/gas-schema-renderer
clasp push && clasp deploy
Full deploy guide →