Gmail Inbox

Horizontal swipeable carousel of Gmail inbox threads. Each card shows a coloured sender avatar, name, subject (bold if unread), snippet and timestamp. Clicking opens the thread in Gmail. On GAS uses GmailApp for live data; on other surfaces renders from items[] array or Gmail REST API.

Surfaces
apps-script-webmeet-stage
Fields
FieldType
titlestring. Section label above carousel. Default "Inbox".optional
countinteger. Number of threads, max 20. Default 10.optional
accentstring. Accent colour for unread indicator and nav dot. Defaultoptional
itemsarray (static connector). Email objects for non-GAS surfaces.required
auth_tokenstring (api connector). OAuth2 bearer token for REST API.required
Example payload
{
  "type": "gmail_inbox",
  "items": [
    {
      "label": "Item 1"
    },
    {
      "label": "Item 2"
    }
  ],
  "auth_token": "your-api-token"
}
ARD catalog entry
{
  "identifier": "urn:air:a2uicatalog.ai:atom:gmail_inbox",
  "displayName": "Gmail Inbox",
  "type": "application/vnd.a2ui.atom+json",
  "url": "https://a2uicatalog.ai/atoms/gmail_inbox",
  "capabilities": [
    "apps-script-web",
    "meet-stage"
  ],
  "description": "Horizontal swipeable carousel of Gmail inbox threads. Each card shows a coloured sender avatar, name, subject (bold if unread), snippet and timestamp. Clicking opens the thread in Gmail. On GAS uses GmailApp for live data; on other surfaces renders from items[] array or Gmail REST API.",
  "representativeQueries": [
    "show a swipeable Gmail inbox carousel \u2014 live on GAS, items[] or api connector on web/meet",
    "horizontal swipeable carousel of gmail inbox threads. each card shows a coloured sender avatar, name",
    "render a gmail inbox"
  ]
}
← 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 →