﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rfc SYSTEM "RFC2629.dtd"[]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<?rfc strict="no"?>
<?rfc toc="yes"?>
<?rfc tocdepth="2"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>
<?rfc inline="yes"?>
<?rfc topblock="yes" ?>
<?rfc autobreaks="yes" ?>

<rfc category="info" docName="draft-crocker-inreply-react-02" ipr="trust200902"
    submissionType="IETF">

    <front>
        <title abbrev="react">React: Indicating Summary Reaction to a Message</title>

        <author fullname="Dave Crocker" initials="D." surname="Crocker">
            <organization>Brandenburg InternetWorking</organization>
            <address>
                <email>dcrocker@bbiw.net</email>
            </address>
        </author>

        <author fullname="R. Signes" initials="R." surname="Signes">
            <organization>Semiotic Systems</organization>
            <address>
                <email>rjbs@semiotic.systems</email>
            </address>
        </author>

        <date year="2020"/>
        <area>Applications and Real-Time</area>
        <workgroup/>

        <keyword>reaction</keyword>
        <keyword>emoji</keyword>
        <keyword>social networking</keyword>
        <keyword>email</keyword>
        <keyword>affect</keyword>
        <keyword>messaging</keyword>

        <abstract>
            <t>The popularity of social media has led to user comfort with easily signaling basic
                reactions to an author's posting, such as with a 'thumbs up' or 'smiley' graphic
                indication. This specification permits a similar facility for Internet Mail.</t>
        </abstract>
    </front>

    <middle>
        <section title="Introduction">
            <t>The popularity of social media has led to user comfort with easily signaling summary
                reactions to an author's posting, by marking basic emoji graphics, such as with a
                'thumbs up', 'heart', or 'smiley' indication. Sometimes the permitted repertoire is
                constrained to a small set and sometimes a more extensive range of indicators is
                supported. </t>

            <t> This specification defines a similar facility for Internet Mail.</t>

            <t>While it is already possible to include symbols and graphics as part of an email
                reply's content, there has not been an established means of signalling the semantic
                substance that such data are to be taken as a summary 'reaction' to the original
                message. That is, a mechanism to identify symbols as specifically providing a
                summary reaction to the cited message, rather than merely being part of the free
                text in the body of a response. Such a structured use of the symbol(s) allows
                recipient MUAs to correlate this reaction to the original message and possibly to
                display the information distinctively.</t>

            <t>This facility defines a header field, to be used in junction with the In-Reply-To
                header field, to link one or more emojis as a summary reaction to a previous
                message.</t>

            <t>Unless provided here, terminology, architecture and specification used in this
                document are incorporated from <xref target="Mail-Arch"/>, <xref target="Mail-Fmt"/>
                and <xref target="ABNF"/>. The ABNF rule Emoji-Seq is inherited from <xref
                    target="Emoji-Seq"/>.</t>

            <t>Discussion of this specification should take place on the ietf-822@ietf.org mailing
                list.</t>

        </section>

        <section title="In-Reply-React" anchor="inreplyreact">
            <t>A message sent as a reply MAY indicate the responder's summary reaction to the
                original message by including an In-Reply-React header field: <list>
                    <t><figure>
                            <preamble>The <xref target="ABNF"/> for the header field is: </preamble>
                            <artwork type="abnf">in-reply-react = "In-Reply-React:" emoji *(lwsp emoji) CRLF
                                
emoji = emoji_sequence
emoji_sequence = { defined in [Emoji-Seq] }

base-emojis = thumbs-up / thumbs-down / grinning-face / frowning-face / crying-face 

thumbs-up = {U+1F44D}
thumbs-down = {U+1F44E}
grinning-face = {U+1F600}
frowning-face = {U+2639}
crying-face = {U+1F622}</artwork>
                        </figure></t>
                </list></t>

            <t>The rule emoji_sequence is inherited from <xref target="Emoji-Seq"/>. It permits one
                or more bytes to form a single presentation image.</t>

            <t>The emoji(s) express a recipient's summary reaction to the specific message
                referenced by the accompanying In-Reply-To header field. <xref target="Mail-Fmt"
                />.</t>

            <t>Fully interoperable email uses 7-bit ASCII, although some email handling paths
                directly support 8-bit data. Emoji characters are drawn from the space outside of
                7-bit ASCII. For email handling paths that are 8-bit clean, the an emoji character
                does not need special encoding. If the path from author to recipients is not known
                to be 8-bit clean, The emoji character SHOULD be encoded using <xref
                    target="MIME-Enc"/>.</t>

            <t>Reference to unallocated code points SHOULD NOT be treated as an error; associated
                bytes SHOULD be processed using the system default method for denoting an
                unallocated or undisplayable code point.</t>

            <t>For recipient MUAs that do not support this mechanism, the header field might not be
                displayed to the recipient. To ensure that the reaction is presented to the
                recipient, the responding MUA MAY automatically include a second copy of the header
                field in the message body. This might be as the first line of the body or as the
                first mime-part. <xref target="MIME"/> By making the text be the full header field,
                it also allows MUAs that do support the mechanism to identify this redundant
                information and possibly remove it from display.</t>
        </section>

        <section title="Usability Considerations">
            <t>This specification defines a mechanism for the structuring and carriage of
                information. It does not define any user-level details of use. However the design of
                the user-level mechanisms associated with this facility is paramount. This section
                discusses some issues to consider .</t>

            <t><list style="hanging">

                    <t hangText="Creation: ">Because an email environment is different from a
                        typical social media platform, there are choices in the design of the user
                        interface, to support indication of a reaction. Is the reaction to be sent
                        only to the original author, or should it be sent to all recipients? Should
                        the reaction always be sent in a discrete message containing only the
                        reaction, or should the user also be able to include other message content?
                        (Note that carriage of the reaction in a normal email message enables
                        inclusion of this other content.)</t>

                    <t hangText="Display:">Reaction indications might be more useful when displayed
                        in close visual proximity to the original message, rather than merely as
                        part of an email response thread. </t>
                </list></t>

            <t/>
        </section>

        <section title="Security Considerations">
            <t>This specification defines a distinct location for specialized message content.
                Processing that handles the content differently from content in the message body
                might introduce vulnerabilities. However the mere definition or use of this
                mechanism does not create new vulnerabilities.</t>

        </section>

        <section title="IANA Considerations">

            <t>Add to "Permanent Message Header Field Registry":</t>

            <t><list>
                    <t><list style="hanging">
                            <t hangText="Header field name:  ">In-Reply-React</t>
                            <t hangText="Applicable protocol:  ">Mail (RFC 2822)</t>
                            <t hangText="Status:   ">Experimental</t>
                            <t hangText="Author/Change controller:  ">IETF</t>
                            <t hangText="Specification document(s): ">This specification.</t>
                            <t hangText="Related information:  ">None</t>
                        </list></t>
                </list></t>

        </section>



    </middle>

    <back>
        <references title="Normative References">

            <reference anchor="ABNF">
                <front>
                    <title>Augmented BNF for Syntax Specifications: ABNF</title>
                    <author fullname="D. Crocker" initials="D." surname="Crocker">
                        <organization>Brandenburg InternetWorking</organization>
                    </author>
                    <author surname="Overell" initials="P." fullname="P. Overell">
                        <organization>THUS plc</organization>
                    </author>
                    <date year="2008" month="January"/>
                </front>
                <seriesInfo name="RFC" value="5234"/>
            </reference>

            <!--            <reference anchor="Emoji-List">
                <front>
                    <title>Full Emoji List, v13.0</title>
                    <author>
                        <organization>Unicode Consortium</organization>
                        <address>
                            <phone>+1-408-401-8915</phone>
                            <uri>https://home.unicode.org/</uri>
                        </address>

                    </author>
                    <date/>
                </front>
                <seriesInfo name="WEB" value="https://unicode.org/emoji/charts/full-emoji-list.html"
                />
            </reference>-->

            <reference anchor="Emoji-Seq">
                <front>
                    <title> Unicode® Technical Standard #51: Unicode Emoji</title>
                    <author fullname="M. Davis" initials="M." role="editor" surname="Davis">
                        <organization>Google, Inc.</organization>
                    </author>
                    <author fullname="P. Edberg" initials="P." role="editor" surname="Edberg.">
                        <organization>Apple, Inc</organization>
                    </author>
                    <date day="18" month="September" year="2020"/>
                </front>
                <seriesInfo name="WEB"
                    value="http://www.unicode.org/reports/tr51/#def_emoji_sequence"/>
            </reference>

            <reference anchor="Mail-Fmt">
                <front>
                    <title>Internet Message Format</title>

                    <author fullname="Peter W.  Resnick" initials="P." role="editor"
                        surname="Resnick">
                        <organization> Qualcomm Incorporated </organization>
                    </author>

                    <date month="October" year="2008"/>
                </front>

                <seriesInfo name="RFC" value="5322"/>
            </reference>

            <reference anchor="Mail-Arch">
                <front>
                    <title>Internet Mail Architecture</title>
                    <author fullname="D. Crocker" initials="D." surname="Crocker">
                        <organization>Brandenburg InternetWorking</organization>
                    </author>
                    <date year="2009" month="July"/>
                </front>
                <seriesInfo name="RFC" value="5598"/>
            </reference>

            <!--           <reference anchor="Mail-Hdrs">
                <front>
                    <title>Common Internet Message Headers</title>
                    <author fullname="J. Palme" initials="J." surname="Palme">
                        <organization>Stockholm University/KTH</organization>
                    </author>
                    <date month="February" year="1997"/>
                </front>
                <seriesInfo name="RFC" value="2076"/>
            </reference>-->

            <reference anchor="MIME-Enc">
                <front>
                    <title>MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header
                        Extensions for Non-ASCII Text</title>
                    <author fullname="K. Moore" initials="K." surname="Moore">
                        <organization>University of Tennessee</organization>
                    </author>
                    <date month="November" year="1996"/>
                </front>
                <seriesInfo name="RFC" value="2047"/>
            </reference>

            <!--            <reference anchor="IANA">
                <front>
                    <title>Guidelines for Writing an IANA Considerations Section
                        in RFCs</title>
                    <author fullname="M. Cotton" initials="" surname="M. Cotton"/>
                    <author fullname="B. Leiba" initials="" surname="B. Leiba"/>
                    <author fullname="T. Narten" initials="" surname="T. Narten"/>
                    <date year="2017"/>
                </front>
                <seriesInfo name="I-D"
                    value="draft-leiba-cotton-iana-5226bis-11"/>
            </reference>-->

        </references>

        <references title="Informative References">

            <reference anchor="MIME">
                <front>
                    <title>Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet
                        Message Bodies</title>
                    <author fullname="N. Freed" initials="N." surname="Freed">
                        <organization>Innosoft</organization>
                    </author>
                    <author fullname="N. Borenstein" initials="N." surname="Borenstein">
                        <organization>First Virtual</organization>
                    </author>
                    <date month="November" year="1996"/>
                </front>
                <seriesInfo name="RFC" value="2045"/>
            </reference>

        </references>

        <section title="Acknowledgements">
            <t>This specification has been discussed in the ietf-822 mailing list. Active commentary
                and suggestions were offered by: Nathaniel Borenstein, Richard Clayton, Ned Freed,
                Bron Gondwana, Valdis Klētnieks, John Levine, Brandon Long, Keith Moore, Pete
                Resnick, Michael Richardson, Alessandro Vesely</t>
        </section>

    </back>

</rfc>
