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\n outbox.id,\n outbox.backfill_job_id,\n job.link_id AS \"email_link_id!\",\n -- Recovery jobs skip the priority pass: the mailbox is already\n -- populated, so there is no cold-start signal to seed.\n (job.threads_requested_limit IS NULL AND NOT job.is_recovery) AS \"priority_pass!\",\n job.is_recovery AS \"refresh_existing!\"\n FROM email_backfill_init_outbox outbox\n JOIN email_backfill_jobs job ON job.id = outbox.backfill_job_id\n WHERE outbox.published_at IS NULL\n AND job.status = 'InProgress'\n AND job.initialized_at IS NOT NULL\n ORDER BY outbox.created_at, outbox.id\n FOR UPDATE OF outbox SKIP LOCKED\n LIMIT 1\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "backfill_job_id",
"type_info": "Uuid"
},
{
"ordinal": 2,
"name": "email_link_id!",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "priority_pass!",
"type_info": "Bool"
},
{
"ordinal": 4,
"name": "refresh_existing!",
"type_info": "Bool"
}
],
"parameters": {
"Left": []
},
"nullable": [
false,
false,
true,
null,
false
]
},
"hash": "8bc66698f8a3f52a30b893ec5983aed3271d305f6b6df547db530fe34a604f8c"
}