Remove the email pipeline
Test and publish / test (push) Successful in 1m59s
Test and publish / publish (push) Successful in 1m41s

The mailbox sync (Microsoft Graph and IMAP), its Claude classifier, the
/email routes and the Settings page's email section are taken out while
the pipeline is unused. The last commit with it is tagged
email-pipeline-last; reverting this commit brings it back.

The status rules the capture path shares (statusOrder, StatusAdvances,
NormalizeStatus) move to job_status.go with their tests. ProcessedEmail
stays in the migration, marked dormant, so its history survives for a
restored pipeline. golang.org/x/oauth2 is no longer needed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-14 22:48:07 +01:00
co-authored by Claude Opus 5.5
parent 6b14a96261
commit b7021ca117
32 changed files with 199 additions and 2284 deletions
+1 -17
View File
@@ -7,7 +7,7 @@
DATABASE_URL=
# URL prefix everything is served under. The SPA is built for /jobs.
BASE_PATH=
# Where the Graph OAuth session and the capture token are saved (default /data).
# Where the capture token is saved (default /data).
DATA_DIR=
# Listen port (default 8080).
PORT=
@@ -31,22 +31,6 @@ CLAUDE_API_KEY=
# Blank means claude-sonnet-5-5.
CLAUDE_MODEL=
# --- Email ingest -----------------------------------------------------------
# "graph" or "imap"; anything else leaves the pipeline off.
EMAIL_BACKEND=
EMAIL_SYNC_ENABLED=
# Go duration, default 30m.
EMAIL_SYNC_INTERVAL=
MSGRAPH_CLIENT_ID=
MSGRAPH_CLIENT_SECRET=
MSGRAPH_TENANT_ID=
# Must be <site>/jobs/api/email/callback and registered in Entra.
MSGRAPH_REDIRECT_URI=
IMAP_HOST=
IMAP_PORT=
IMAP_EMAIL=
IMAP_PASSWORD=
# --- Job leads --------------------------------------------------------------
JOB_LEADS_ENABLED=
# Go duration, default 6h.