Schnellerkennung von Portalbuchungen per E-Mail

- IMAP-Abruf jede Minute (webklex/php-imap, ohne PHP-imap-Erweiterung) oder signierter Push von n8n
- Parser für Buchungs-, Storno- und Anfrage-Mails (de/en), Buchungsnummer, An-/Abreise
- Erkannte Buchungen werden sofort gesperrt und an handgepflegte Portale weitergegeben; Kalender-Abgleich übernimmt bzw. ersetzt Mail-Sperren
- Unklare Mails: Prüf-Mail + Admin-Liste Portal-E-Mails mit Aktion Sperre anlegen
- Überwachung des Postfachs in Monitor und /health/sync

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lars StommerandClaude Opus 5.5 committed 2026-10-22 11:29:26 +02:00
1 parent 0b7205e050
commit e5f9e0762f
33 files changed
+1450 -38

No files matched your search

+4
View File
@@ -20,6 +20,10 @@
Route::get('/kalender/{token}.ics', [ChannelController::class, 'feed'])->name('channels.feed')->middleware('throttle:60,1');
Route::get('/health/sync', [ChannelController::class, 'health'])->name('health.sync');
Route::post('/automation/portal-mail', [ChannelController::class, 'portalMail'])
->name('channels.portal-mail')
->withoutMiddleware(PreventRequestForgery::class)
->middleware('throttle:60,1');
Route::post('/automation/aufgaben/{task}/erledigt', [ChannelController::class, 'completeTask'])
->name('channel-tasks.complete')
->withoutMiddleware(PreventRequestForgery::class)