Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
{
"db_name": "PostgreSQL",
"query": "\n SELECT t.id, t.provider_id, t.link_id, t.inbox_visible, t.is_read,\n t.latest_inbound_message_ts, t.latest_outbound_message_ts,\n t.latest_non_spam_message_ts, t.created_at, t.updated_at\n FROM email_threads t\n WHERE t.id = $1 AND t.link_id = $2\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "provider_id",
"type_info": "Text"
},
{
"ordinal": 2,
"name": "link_id",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "inbox_visible",
"type_info": "Bool"
},
{
"ordinal": 4,
"name": "is_read",
"type_info": "Bool"
},
{
"ordinal": 5,
"name": "latest_inbound_message_ts",
"type_info": "Timestamptz"
},
{
"ordinal": 6,
"name": "latest_outbound_message_ts",
"type_info": "Timestamptz"
},
{
"ordinal": 7,
"name": "latest_non_spam_message_ts",
"type_info": "Timestamptz"
},
{
"ordinal": 8,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 9,
"name": "updated_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
true,
false,
false,
false,
true,
true,
true,
false,
false
]
},
"hash": "8ada8f1fc3affb75cda0d8c749204d8c58ec09f88682ed2e5ec0ea26605cba2b"
}