Cotton code
83 lines · 1.6 KB · JSONRaw
{  "views": [    {      "id": "today",      "label": "Today",      "visibility": "owner",      "is_default": true,      "read": {        "table": "email_thread",        "section": "today"      }    },    {      "id": "records",      "label": "Records",      "visibility": "owner",      "is_default": false,      "read": {        "table": "email_thread",        "where": {          "sender_kind": "service"        }      }    },    {      "id": "people",      "label": "People",      "visibility": "owner",      "is_default": false,      "read": {        "table": "email_thread",        "where": {          "sender_kind": "person"        }      }    },    {      "id": "junk",      "label": "Junk",      "visibility": "owner",      "is_default": false,      "read": {        "table": "email_thread",        "where": {          "sender_kind": "junk"        }      }    },    {      "id": "all",      "label": "All",      "visibility": "owner",      "is_default": false,      "read": {        "table": "email_thread"      }    }  ],  "id": "email",  "name": "Email",  "purpose": "Your email conversations and attachments.",  "picture": {    "photo": "photo:b5cf213d649bc342c2915d314e56b4f4fbc12dabd589527e171f51fa674aa2ea",    "object": "tool-email"  },  "card_stock": "rose",  "tables": [    "email_thread",    "email_sender",    "email"  ],  "instructions": "",  "automations": [],  "server": {    "needs": true,    "line": "Mail arrives through the Mac app and your Cotton server."  },  "author": {    "device": "cotton",    "name": "Cotton"  },  "signature": null}