Summary list of recent emails in the user's Gmail matching a search query. Works on Google Apps Script only.
| Field | Type | |
|---|---|---|
| query | string. The search query (e.g. "is:unread label:work"). | required |
| max_results | integer. Maximum number of emails to display. Default is 5. | optional |
{
"type": "gmail_summary",
"query": "inbox is:unread"
}
{
"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"
]
}
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 →