Route forwarded mail by its original sender; register Grok briefs via founder.
Adds forwarded_from (original sender from the forwarded header block, English/German) to delivery provenance and source match rules, so only founder forwards of noreply@x.ai mail route as Grok briefs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: opus Assistant-Process: 1170398@bnt-lap001 Assistant-Session: 622cd705-cb31-4322-ba08-dd42e44fa583
This commit is contained in:
parent
96e439495c
commit
65887ef637
5 changed files with 61 additions and 7 deletions
|
|
@ -41,6 +41,7 @@ One record per delivery of an item.
|
|||
| `received_at` | IMAP INTERNALDATE (UTC ISO 8601) |
|
||||
| `mailbox` | `<user>/<folder>`; for `imap` only |
|
||||
| `message_id`, `sender`, `subject`, `list_id` | for `imap` only; `sender` is lowercased |
|
||||
| `forwarded_from` | for `imap`: the original sender from the first forwarded header block in the body (`From:`/`Von:` after a forward marker), or `''` |
|
||||
| `authentication_results` | raw headers, recorded as provenance, not as trust |
|
||||
| `parent_item`, `filename`, `content_type` | for `attachment` only |
|
||||
|
||||
|
|
@ -69,7 +70,7 @@ subscriptions may only use registered topics.
|
|||
| `id` | the file name without `.json` |
|
||||
| `owner_repo` | the repository that registered it |
|
||||
| `channel` | `email` or `url` |
|
||||
| `match` | for `email`: `from` (required), `subject` (substring), `list_id` |
|
||||
| `match` | for `email`: `from` (required), `subject` (substring), `list_id`, `forwarded_from` (the original sender of a forwarded mail) |
|
||||
| `url` | for `url` |
|
||||
| `topics` | list of registered topics |
|
||||
| `cadence` | `daily`, `weekly` or `irregular`; daily and weekly email sources are watched for silence (36 h or 9 days) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue