Remove the email pipeline
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:
+1
-17
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user