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": "INSERT INTO email_send_attempts (user_id, link_id, attempt_id, request, message_id, thread_id, send_time, restore_body_html, restore_body_text, restore_body_macro, prepared_content, draft_handles, draft_link_ids)\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11,\n ARRAY(SELECT client_id FROM email_draft_client_ids WHERE message_id=$5\n UNION SELECT $5 UNION SELECT $12::uuid WHERE $12 IS NOT NULL),\n ARRAY(SELECT link_id FROM email_draft_client_ids WHERE message_id=$5\n UNION SELECT $2 UNION SELECT $13::uuid WHERE $13 IS NOT NULL))",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Uuid",
"Uuid",
"Jsonb",
"Uuid",
"Uuid",
"Timestamptz",
"Text",
"Text",
"Text",
"Jsonb",
"Uuid",
"Uuid"
]
},
"nullable": []
},
"hash": "b9d3465546196d99d8d9fb838929564d3b3a2aa5bbd435d0f0eddd8291957cac"
}