mjl- / mox

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

webmail: support structured email #143

Open mjl- opened 8 months ago

mjl- commented 8 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.