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 UPDATE email_backfill_jobs\n SET init_lease_token = $2,\n init_lease_expires_at = now() + interval '2 minutes',\n updated_at = now()\n WHERE id = $1\n AND status = 'Init'\n AND initialized_at IS NULL\n AND (\n init_lease_expires_at IS NULL\n OR init_lease_expires_at < now()\n )\n RETURNING init_lease_token AS \"init_lease_token!\"\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "init_lease_token!",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Uuid",
"Uuid"
]
},
"nullable": [
true
]
},
"hash": "0f4165b0c4d3a02a206ef06b15745bf64d991ba22687bb0317dc6aa7e081e4d0"
}