Cotton code
34 lines · 1000 B · JSONRaw
[  {    "id": "example-email-1",    "thread_id": "example-email-thread",    "subject": "An example trip",    "from_name": "Alex Example",    "from_email": "alex@example.invalid",    "to_line": "You <owner@example.invalid>",    "cc_line": "Sam Example <sam@example.invalid>",    "sent_at": "2026-09-30T09:00:00Z",    "body": "Hello,\n\nHere is the example itinerary.\n",    "media": [{"contentType": "application/pdf", "name": "itinerary.pdf", "sizeBytes": 48120}],    "direction": "in",    "unread": true,    "starred": true,    "in_inbox": true,    "binned": false  },  {    "id": "example-email-2",    "thread_id": "example-email-thread",    "subject": "Re: An example trip",    "from_name": "You",    "from_email": "owner@example.invalid",    "to_line": "Alex Example <alex@example.invalid>",    "sent_at": "2026-09-30T10:00:00Z",    "body": "Thank you.",    "direction": "out",    "unread": false,    "starred": false,    "in_inbox": true,    "binned": false  }]