Internet-Draft | Structured Email: Use cases | October 2024 |
Bucksch & Happel | Expires 24 April 2025 | [Page] |
This document collects and discusses use cases for "structured email" [I-D.ietf-sml-structured-email-02].¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 24 April 2025.¶
Copyright (c) 2024 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
This document is currently structured into a brief discussion about benefits of structured email, followed by different categories of use cases:¶
Each use case includes a small informal note about privacy and trust levels.¶
The end of the document contains an initial collection of modeling guidance and a brief discussion of technical approaches related to structured email.¶
The terms "message" and "email message" refer to "electronic mail messages" or "emails" as specified in [RFC5322]. The term "Message User Agent" (MUA) denotes an email client application as per [RFC5598]. Similarly, a "Calendar Calendar User Agent" (CUA) denotes a client application that a calendar user utilizes to access and manipulate a calendar [RFC4324].¶
The terms "machine-readable data" and "structured data" are used in contrast to "human-readable" messages and denote information expressed "in a structured format (..) which can be consumed by another program using consistent processing logic" [MachineReadable].¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The core benefit of structured email is to make email content machine-readable, which is the basis for the further benefits discussed in this section.¶
This may include to unlock alternative means of access:¶
Structured data can allow for particular visualizations of information, such as rendering a map based on geo-cordinates or a timeline based on dates.¶
Related to that, particular actions or related apps/services (see als interoperability) may be offered based on the type of data.¶
The Sieve email filtering language [RFC5228] allows to take actions on messages, if certain conditions are met. Most of its use cases are however limited to filing/deleting/forwarding messages based on keyword matching, due to a lack of understanding of the email content (with some exceptions such as meeting requests [RFC9671]).¶
Examples could be structured vacation notices (see Section 7.4, Paragraph 1) or the management of encryption keys [I-D.pep-sml-auto-processing-marker-00].¶
Structured data allows to find compatible extensions, apps, or services which can use or store the information. This is similar to how MUAs can already deal with media types of attached files [RFC6838].¶
In addition, structured data can help to distangle content from a particular provider (e.g. a product tied to a particular shop or a song tied to a particular streaming service), thus fostering data portability. Structured email itself can also be considered a data export mechanism according to data portability regulations.¶
Structured data enables tools on behalf of the user to combine the data with other data. This can be local/private data of the user, such as a calendar or a music collection, or public data such as weather at a travel destination or upcoming concerts of an artist.¶
Structured data could also inform a client how to obtain updates on status notification emails (such as in parcel tracking), live locations, or polls.¶
This section is about use cases related to sharing information - either between persons or from a service to a person.¶
Use cases are distinguished into sharing URLs/"one item per mail" and sharing "bundles" of items.¶
Many websites or browsers allow to share URLs with others - either individually or via one's social media feed. In addition, sharing items from mobile apps (e.g., a song in a music app) typically results in a URL to be shared.¶
Individual sharing typically points to instant messaging (IM) tools or to "share by email", using either the "mailto" URI scheme [RFC6068] or a form provided by the application.¶
Instant messaging applications and social media sites usually provide a rich visualization ("link preview") of the shared URL, while "share by email" usually results in a bare URL pasted in a message body.¶
SML not just allows MUA to provide link previews (either on sender or on receiver side), but also to provide more specific interaction features, if provided with structured data about what is represented by that URL (e.g., a music album, an event or a news article).¶
Geo-located places can by of various kinds, such as a local business or a tourist attraction. The sharing of one's current personal location is discussed later in this draft (Section 6.1, Paragraph 1).¶
In email, the can currently either by shared by URLs/deep links to online map services or using the "geo" URI scheme [RFC5870].¶
Indicators:¶
Media and content such as news articles, books, cooking recipes, films, or music albums are commonly shared by users. Many websites contain corresponding "share buttons". The particular "share by email" feature either launches an email send form or a MUA using a "mailto:" ([RFC6068]) URL.¶
In both cases, email messages will typically contain a plain website URL pointing to the shared media item. The recipient needs to switch from her MUA to the web browser and find out manually, what kind of content has been shared.¶
Indicators:¶
Similar to media and content, users may share or recommend certain products and services, which may result in a later purchase or reservation (see first section).¶
Indicators:¶
While (corporate) meeting scheduling is a common use case based on email (see Message Scheduling below), public events are not supported similarly well.¶
There are efforts to extend the current event data model for this use case ([RFC9073]), which allow to embed [SchemaOrg] into calendar data. Structured email might complement and improve this use case.¶
Indicators:¶
Emails may be focused on a particular topic/transaction or may cover a broader set of information. Accordingly, the structured data contained in such emails might be more extensive. For the sake of this document, we call these kind of emails "bundles".¶
A weekly canteen plan is probably similar to a newsletter, containing e.g., meals, opening/closing times and canteen location(s).¶
Indicators:¶
Traveling often contains multiple means of transports and locations. E.g., a hotel reservation might contain restaurant recommendations or the location of nearby public transport or parking.¶
Indicators:¶
Similar to the traveling case, certain meetings might not just consist of the actual meeting, but a related social lunch, reception or transport information.¶
Indicators:¶
Related to the general topic of online shopping, the [SchemaOrg] types Order
, Invoice
, and ParcelDelivery
can be used throughout the purchasing lifecycle.¶
This use case is already supported by one or more of the email providers which support [SchemaOrg] in email (see also [StructuredEmail]).¶
Indicators:¶
Various types of reservations can be processed by some email providers and tools (see also [StructuredEmail]). These include types [SchemaOrg] for transport (Bus-
, CarRental-
, Flight-
, and TrainReservation
), HotelReservation
, RestaurantReservation
and a generic EventReservation
type.¶
Indicators:¶
Email is a major form of digital communication with third parties and services they offer. The beginning of such interaction is often some form of "sign-up" or "welcome" message.¶
Structured data could allow MUAs and downstream tools to help users keep track and manage services they have subscribed to.¶
Indicators:¶
Various software systems use email message to notify users about certain updates and status changes. In many cases, users may want to respond with a comment, confirmation, or similar actions.¶
These kind of actions currently involve URLs, which often results in a web browser launched out of the MUA. Structured email could help provide a more seamless and direct user interaction in those cases.¶
Indicators:¶
Email is often used as an additional "factor" in multi-factor authentication or various forms of sign-up procedures. Services will send a message to the pre-registered address which users will need to confirm in order to complete a log-in process or similar transactions.¶
Such messages will typically contain a code and/or a link (URL) to a website.¶
Indicators:¶
Promotions may be considered an individual product or a bundle of products and/or a discount or coupon code.¶
This use case is already supported by one or more of the email providers which support [SchemaOrg] in email (see also [StructuredEmail]).¶
Indicators:¶
Email messages are often used for formal requests sent to government organizations, businesses, or within organizations.¶
Users may intiate such requests by composing a free-form email message in their MUA or use a so-called "contact form" on a website, which in many cases will generate an email based on the form's content.¶
Such contact forms are however a major source of email abuse, since the recipient will technically send an email to itself, based on whatever data was entered into the form.¶
Structured email could provide means which make such formal contact more efficient and trustworthy.¶
Indicators:¶
Email is often used to inform third parties about the change of addresses or similar personal information. This typically happens in an unstructured way, requiring manual actions on both sides and making the process error prone.¶
A structured data format signaling the update of personal data could provide a standard way of solving this procedure in a more efficient way.¶
Indicators:¶
Various tools such as ticket systems or mailinglist management software allow for controled vocabulary (such as "UNSUBSCRIBE") in reply messages to trigger certain functionality.¶
Structured email could help to formalize and improve such use cases, so that they allow for easier interaction.¶
Indicators:¶
Use cases in this section mainly deal with Person-to-Person interactions.¶
Personal location sharing is common feature supported by many instant messaging tools. The current best practice to share locations in email messages would probably be to share URLs/deep links to online map services.¶
Indicators:¶
Message scheduling is probably the most widely use form of interaction with email messages, which is not mainly based on writing text.¶
Due to the iCalendar Message-Based Interoperability Protocol (iMIP; [RFC6047), certain well-defined messages can be sent between calendaring software in order to deal with meeting invitations.¶
While mainly focused on private/business meetings, the use case of public events is less well supported in these workflows (see also discussion above).¶
Indicators:¶
Similar to location sharing, polls are a frequent feature of instant messaging clients. Users essentially pick one or more items from a list of options.¶
Indicators:¶
This section presents a number of use cases which are specfic to the email domain as such and/or relate to core features of MUAs.¶
Mobile devices can allow special messages for over-the-air (OTA) configuration updates. In a similar fashion, structured email could be used for (re-)configuring MUA settings.¶
Indicators:¶
Social networks and instant messaging tools allow for various forms of low-level instant reactions, such as "liking", "thumbs up", "heart", or "smiley".¶
A simple variant for usage in email messages has been proposed in [RFC9078]. Some vendors have also implemented similar solutions, which are however mainly designed for usage within the vendor's own platform ([OutlookReactions], [GmailReactions]).¶
Indicators:¶
Email signatures are a commonly used feature of MUAs which allow users to append contact details or information about upcoming events to email messages. They may also be a legal obligation in some settings.¶
There are no standards for such signatures beyond the separator "-- " used in text/plain body parts, which stems from Usenet practice [RFC3676]. With a similar intention, some MUAs allow to append vCard ([RFC6350]) files to outgoing messages.¶
Indicators:¶
So called "vacation notices" or "out-of-office replies" are automated messages which are sent in response to incoming messages if a recipient is absent or otherwise unable to respond.¶
Those messages typically include instructions for the sender (when to retry or whom to contact instead). MUAs can currently hardly assist in dealing with such messages, as they are mainly based on human-language.¶
See also [I-D.happel-sml-structured-vacation-notices-01]¶
Indicators:¶
This (work in progress) section collects general modeling guidance for discussing and drafting new use cases.¶
Concepts from existing vocabularies such as [SchemaOrg] should be reused whenever possible. If smaller extension or improvements are required, editors might want to discuss improvements with respective vocabulary maintainers.¶
Modeling should focus on describing data itself and not prescribe its use unless this is an inherent part of the modeling (such as in the case of a potentialAction
property.¶
E.g., codes for multi-factor authentication might be rather shared as a ConfirmationCode
concept, than CopyToClipBoard
.¶
Modeling should consider privacy and trust implications of sharing underlying data. Such information could guide senders and receivers in taking appropriate action to ensure responsible data processing.¶
Some security considerations are discussed inline.¶
Some privacy considerations are discussed inline.¶
This document has no IANA actions at this time.¶