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,5 +1,4 @@
# Job application tracker. Rows come from these mutations, automatically from
# the email sync pipeline (internal/services/email_sync.go), from the browser
# Job application tracker. Rows come from these mutations, from the browser
# capture userscript (internal/handlers/handle_job_capture.go), or from
# promoting a lead (job_lead.graphql). These are private data, so the queries
# here are @admin as well as the mutations.
@@ -7,10 +6,10 @@
# description is the captured posting text. It can run to tens of kilobytes,
# so the tracker's list query leaves it out and asks for it per row.
# The lifecycle of an application, in the order the email pipeline and the
# capture endpoint are allowed to advance it. The values are lowercase on
# purpose: they are exactly the strings stored in the status column and ranked
# in services.statusOrder (internal/services/email_sync.go), and a test there
# The lifecycle of an application, in the order the capture endpoint is
# allowed to advance it. The values are lowercase on purpose: they are exactly
# the strings stored in the status column and ranked in services.statusOrder
# (internal/services/job_status.go), and a test there
# fails if this list and that map ever differ. Adding a status means adding
# it in both places, and to the tracker page and the capture userscript.
#