mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.36k stars 89 forks source link

webmail: support structured email #143

Open mjl- opened 3 months ago

mjl- commented 3 months ago

Standardization of structured email is being discussed at the IETF. It is about machine-readable information in email messages that can be displayed by the mail client to users. Like travel itineraries, buttons for certain actions/responses to messages, etc. See https://structured.email/ and https://datatracker.ietf.org/wg/sml/about/ for more information.

Current plans are around JSON-LD in HTML messages, with schema.org types. This is already done in practice and some of the big freemail providers display snippets. I've done some prototyping, the JSON-LD is easy enough to parse. The question that remains is: Which schema.org types should be recognized, how should they be visualized, and do users want this?

First discussed at FOSDEM with Hans-Jörg.