← Back to Research
Overview
Structured headers for message classification, priority, expiration, and context that go beyond basic SMTP headers.
Problem Statement
Current email headers are: - Unstructured (Subject, custom X- headers) - No standard for metadata (priority, categories, expiration) - Client-dependent interpretation - No semantic meaning for automation
Goals
- Standardized metadata format (JSON-LD in headers)
- Machine-readable message classification
- Automated workflow triggers (priority routing, auto-expiration, categorization)
- Backward compatible display for legacy clients
Use Cases
- Priority Routing: SLA-based delivery (legal notices, alerts vs newsletters)
- Auto-Expiration: Time-sensitive messages auto-delete (2FA codes, temporary invites)
- Smart Filing: Automatic categorization (receipts, notifications, conversations)
- Workflow Integration: Trigger actions based on metadata (CRM updates, ticket creation)
Proposed Headers
X-Rich-Metadata: {
"@context": "https://msgs.global/schema/v1",
"@type": "Message",
"priority": {
"level": "high",
"sla": "deliver-within-5min",
"expires": "2026-03-08T00:00:00Z"
},
"classification": {
"category": "financial/receipt",
"tags": ["purchase", "invoice"],
"sensitivity": "normal"
},
"automation": {
"auto-file": "Receipts/2026/March",
"auto-expire": "2026-04-07T00:00:00Z",
"trigger-webhook": "https://api.example.com/process-receipt"
},
"thread": {
"conversation-id": "uuid",
"position": 3,
"total": 5
}
}
Integration with msgs.global
- Extend postmaster_metrics to track priority/SLA
- Auto-filing rules in webmail
- API hooks for workflow automation
- Compliance: Auto-expiration for GDPR/data retention
Status
📋 Research Phase
Next Steps
- Define JSON-LD schema
- Survey existing metadata standards (schema.org)
- Build webmail UI for metadata display
- Implement Postfix priority queuing