Views
Boards and lists your agent sets up for the team in the console.
A view is a saved board or list in the console sidebar. An agent usually makes it: "set up a board for orders: New, Packing, Shipped".
A board's columns are labels. A conversation sits in the column whose label it carries. Moving a card in the console swaps that label for the new column's, and an agent labelling a conversation moves it across the board.
Make one from an agent
The save_view MCP tool makes a view, or replaces the one with the same name:
{
"name": "Orders",
"inbox_id": "orders@yourco.com",
"columns": [
{ "name": "New" },
{ "name": "Packing", "label": "packing" },
{ "name": "Shipped", "label": "archived" }
]
}
The column without a label holds everything the others don't claim, so new
mail lands there. A column labelled archived holds archived mail; every other
column leaves it out. Spam and trash never show on a board.
Or over the API
curl -X POST https://api.carlyemail.com/v0/views \
-H "Authorization: Bearer $CARLYEMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "Refunds", "query": "refund", "columns": [{"name": "Open"}, {"name": "Done", "label": "archived"}]}'
| Field | |
|---|---|
name |
What the sidebar shows |
inbox_id |
One inbox; leave it out for every inbox |
query |
A search that narrows the view |
columns |
Up to 12 {name, label}; leave it out for a plain list |
GET, PATCH and DELETE /v0/views/{view_id} read, change and remove one. A view
stores what to show, not the mail, so it is always current and shows each
person only what they may read.