scan-inbox
SolidClassify unscanned mailbox messages, fuzzy-match each to an existing application, and write the proposal back. The user approves in /inbox.
AI & Automation 38 stars
11 forks Updated yesterday MIT
Install
Quality Score: 86/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Scan Inbox - Review Pending Email
Classify recent email and link each thread to an existing `Application` when there's a confident match. This skill does **not** write `ApplicationEvent` rows or mutate `Application.status` - the user approves from `/inbox`, that's where state changes happen.
## Setup
Follow `../../shared/setup.md`.
```bash
JOBPILOT_API="${JOBPILOT_API:-https://jobpilot.suxrobgm.net}"
```
## Phase 1: Confirm Mailbox Connected
```bash
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/email/account"
```
If `.connected === false`, stop:
> No email account is connected. Open `/profile` → **Email** and connect a Gmail account, then re-run `scan-inbox`.
## Phase 2: Pick the Queue
**One message** - an id was passed (a re-scan from the inbox table). Fetch just it and classify it again even if it's already classified or reviewed:
```bash
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/email/messages/<id>"
```
**All pending** - no argument. Sync, then pull the unscanned queue:
```bash
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" -X POST "$JOBPILOT_API/api/email/sync"
curl -fsS -H "authorization: Bearer $JOBPILOT_API_TOKEN" "$JOBPILOT_API/api/email/messages?reviewStatus=pending&classification=null"
```
If `data` is empty: **"Inbox is already reviewed. Nothing new to classify."** and exit.
The rest of the skill runs over whatever you fetched. A re-scan overwrites the classification and rese...
Details
- Author
- suxrobGM
- Repository
- suxrobGM/jobpilot
- Created
- 4 months ago
- Last Updated
- yesterday
- Language
- TypeScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
inbox-review
Morning inbox workflow -- multi-account scan, thread grouping, priority classification, draft replies
28 Updated 3 days ago
n24q02m AI & Automation Listed
inbox-review
Morning inbox workflow -- multi-account scan, thread grouping, priority classification, draft replies
3 Updated 3 days ago
n24q02m AI & Automation Listed
magic-inbox
Autonomous inbox agent. Scores emails, drafts replies, archives noise, Slack summaries. Uses Gmail + Calendar + Slack + your context. Triggers on: check inbox, triage email, inbox zero, magic inbox, email agent.
67 Updated yesterday
atrislabs