123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343{
"surface_id": "email-viewer-surface",
"surface_version": 1,
"payload": {
"objects": [
{
"beginRendering": {
"surfaceId": "email-viewer-surface",
"root": "root-card"
}
},
{
"surfaceUpdate": {
"surfaceId": "email-viewer-surface",
"components": [
{
"id": "root-card",
"component": {
"Card": {
"child": "main-column"
}
}
},
{
"id": "main-column",
"component": {
"Column": {
"children": {
"explicitList": [
"header-section",
"divider-1",
"subject-text",
"meta-row",
"divider-2",
"body-text",
"divider-3",
"action-row"
]
}
}
}
},
{
"id": "header-section",
"component": {
"Row": {
"children": {
"explicitList": [
"sender-avatar",
"sender-info-column"
]
},
"alignment": "center"
}
}
},
{
"id": "sender-avatar",
"component": {
"Image": {
"url": {
"path": "/sender/avatar"
}
}
}
},
{
"id": "sender-info-column",
"weight": 1,
"component": {
"Column": {
"children": {
"explicitList": [
"sender-name",
"sender-email"
]
}
}
}
},
{
"id": "sender-name",
"component": {
"Label": {
"text": {
"path": "/sender/name"
},
"variant": "bodySemibold"
}
}
},
{
"id": "sender-email",
"component": {
"Label": {
"text": {
"path": "/sender/email"
},
"variant": "caption"
}
}
},
{
"id": "divider-1",
"component": {
"Divider": {
"axis": "horizontal"
}
}
},
{
"id": "subject-text",
"component": {
"Label": {
"text": {
"path": "/subject"
},
"variant": "title"
}
}
},
{
"id": "meta-row",
"component": {
"Row": {
"children": {
"explicitList": [
"date-text",
"time-text"
]
},
"alignment": "center"
}
}
},
{
"id": "date-text",
"component": {
"Label": {
"text": {
"path": "/date"
},
"variant": "caption"
}
}
},
{
"id": "time-text",
"component": {
"Label": {
"text": {
"path": "/time"
},
"variant": "caption"
}
}
},
{
"id": "divider-2",
"component": {
"Divider": {
"axis": "horizontal"
}
}
},
{
"id": "body-text",
"component": {
"Label": {
"text": {
"path": "/body"
},
"variant": "body"
}
}
},
{
"id": "divider-3",
"component": {
"Divider": {
"axis": "horizontal"
}
}
},
{
"id": "action-row",
"component": {
"Row": {
"children": {
"explicitList": [
"reply-button",
"forward-button",
"delete-button"
]
},
"distribution": "spaceEvenly"
}
}
},
{
"id": "reply-button",
"component": {
"Button": {
"child": "reply-text",
"primary": true,
"action": {
"name": "reply",
"context": [
{
"key": "emailId",
"value": {
"path": "/id"
}
}
]
}
}
}
},
{
"id": "reply-text",
"component": {
"Label": {
"text": {
"literalString": "Reply"
},
"variant": "body"
}
}
},
{
"id": "forward-button",
"component": {
"Button": {
"child": "forward-text",
"primary": false,
"action": {
"name": "forward",
"context": [
{
"key": "emailId",
"value": {
"path": "/id"
}
}
]
}
}
}
},
{
"id": "forward-text",
"component": {
"Label": {
"text": {
"literalString": "Forward"
},
"variant": "body"
}
}
},
{
"id": "delete-button",
"component": {
"Button": {
"child": "delete-text",
"primary": false,
"action": {
"name": "delete",
"context": [
{
"key": "emailId",
"value": {
"path": "/id"
}
}
]
}
}
}
},
{
"id": "delete-text",
"component": {
"Label": {
"text": {
"literalString": "Delete"
},
"variant": "body"
}
}
}
]
}
},
{
"dataModelUpdate": {
"surfaceId": "email-viewer-surface",
"path": "/",
"contents": [
{
"key": "id",
"valueString": "email-001"
},
{
"key": "sender",
"valueMap": [
{
"key": "name",
"valueString": "Alex Zhang"
},
{
"key": "email",
"valueString": "zhangwei@example.com"
},
{
"key": "avatar",
"valueString": "https://i.pravatar.cc/150?img=33"
}
]
},
{
"key": "subject",
"valueString": "Next Week's Project Meeting Schedule"
},
{
"key": "date",
"valueString": "January 15, 2024"
},
{
"key": "time",
"valueString": "10:30 AM"
},
{
"key": "body",
"valueString": "Hi,\n\nI wanted to confirm next Wednesday's project progress meeting. It will take place in Conference Room A and is expected to last two hours.\n\nAgenda:\n1. Project progress review\n2. Discussion of current issues\n3. Planning for the next phase\n\nPlease prepare the relevant materials in advance, and let me know as soon as possible if you have a scheduling conflict.\n\nThanks,\nAlex Zhang"
}
]
}
}
]
}
}0 tokens
Alex Zhang
zhangwei@example.com
Next Week's Project Meeting Schedule
January 15, 2024
10:30 AM
Hi,
I wanted to confirm next Wednesday's project progress meeting. It will take place in Conference Room A and is expected to last two hours.
Agenda:
1. Project progress review
2. Discussion of current issues
3. Planning for the next phase
Please prepare the relevant materials in advance, and let me know as soon as possible if you have a scheduling conflict.
Thanks,
Alex Zhang