merge: inbound email processing from worktree/ageless-shale

Merge the mail.tm transport and email processing pipeline into main.
- Transport-agnostic email processor with mail.tm polling transport
- POST /mailgate webhook endpoint
- User/queue/ticket resolvers with stub user auto-creation
- Queue mail_alias column for email routing
- Migration renumbered to 0021 to follow main's 0019/0020

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Gjermund Høsøien Wiggen
2026-06-15 21:42:37 +02:00
parent 631365ab07
commit 1c92f488f7
11 changed files with 2700 additions and 1 deletions

View File

@@ -0,0 +1 @@
ALTER TABLE "queues" ADD COLUMN "mail_alias" text;

File diff suppressed because it is too large Load Diff

View File

@@ -148,6 +148,13 @@
"when": 1781552001000,
"tag": "0020_sla_tables",
"breakpoints": true
},
{
"idx": 21,
"version": "7",
"when": 1781552215621,
"tag": "0021_romantic_captain_midlands",
"breakpoints": true
}
]
}
}