Update email-triage.md: document /seen endpoint for keep-in-inbox flow
This commit is contained in:
parent
d0ac5ab5c8
commit
3f2e6b5a56
Binary file not shown.
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
{
|
||||||
"last_updated": "2026-02-13T15:19:35.778793Z",
|
"last_updated": "2026-02-13T16:00:14.540674Z",
|
||||||
"source": "api",
|
"source": "api",
|
||||||
"session_percent": 2,
|
"session_percent": 3,
|
||||||
"session_resets": "2026-02-13T20:00:00.743911+00:00",
|
"session_resets": "2026-02-13T20:00:00.504184+00:00",
|
||||||
"weekly_percent": 66,
|
"weekly_percent": 66,
|
||||||
"weekly_resets": "2026-02-14T18:59:59.743937+00:00",
|
"weekly_resets": "2026-02-14T18:59:59.504205+00:00",
|
||||||
"sonnet_percent": 0
|
"sonnet_percent": 0
|
||||||
}
|
}
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
- Base URL: `http://localhost:8025`
|
- Base URL: `http://localhost:8025`
|
||||||
- Fetch new: `GET /messages/new`
|
- Fetch new: `GET /messages/new`
|
||||||
- Replay: `GET /messages?since=24h`
|
- Replay: `GET /messages?since=24h`
|
||||||
- Actions: `POST /messages/{id}/archive`, `/delete`, `/reply`, `/to-docs`
|
- Actions: `POST /messages/{id}/archive`, `/delete`, `/reply`, `/to-docs`, `/seen`
|
||||||
|
|
||||||
**Account identifiers:**
|
**Account identifiers:**
|
||||||
- `tj_jongsma_me` (tj@jongsma.me) — family/shared account
|
- `tj_jongsma_me` (tj@jongsma.me) — family/shared account
|
||||||
|
|
@ -202,6 +202,12 @@ This keeps the delivery schedule current without cluttering Shopping folder.
|
||||||
- Anything Sophia-related
|
- Anything Sophia-related
|
||||||
- Medical/insurance matters
|
- Medical/insurance matters
|
||||||
|
|
||||||
|
**Important:** After flagging, mark as seen so it doesn't retrigger:
|
||||||
|
```bash
|
||||||
|
curl -X POST "http://localhost:8025/messages/{id}/seen"
|
||||||
|
```
|
||||||
|
This removes it from `/messages/new` without archiving/deleting.
|
||||||
|
|
||||||
## Specific Sender Rules
|
## Specific Sender Rules
|
||||||
|
|
||||||
These override general routing:
|
These override general routing:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue