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

File diff suppressed because it is too large Load Diff