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 ead.id, ead.draft_id, ead.file_name, ead.content_type, ead.sha, ead.size, ead.s3_key, ead.upload_pending, ead.content_id, ead.is_inline\n FROM email_attachments_drafts ead\n JOIN email_messages m ON ead.draft_id = m.id\n WHERE ead.draft_id = $1 AND m.link_id = $2\n ORDER BY ead.file_name ASC\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "draft_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "file_name",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "content_type",
"type_info": "Text"
},
{
"ordinal": 4,
"name": "sha",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "size",
"type_info": "Int4"
},
{
"ordinal": 6,
"name": "s3_key",
"type_info": "Text"
},
{
"ordinal": 7,
"name": "upload_pending",
"type_info": "Bool"
},
{
"ordinal": 8,
"name": "content_id",
"type_info": "Text"
},
{
"ordinal": 9,
"name": "is_inline",
"type_info": "Bool"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
false,
false,
false,
false,
false,
false,
false,
false,
true,
false
]
},
"hash": "92b35dcc6305e132c4c7c578619a601bcb6478edff6fe56e2ac8286c0bb3cb4f"
}