<?xml version="1.0" encoding="utf-8"?>
<?xml-model href="rfc7991bis.rnc"?>
<!DOCTYPE rfc [
<!ENTITY nbsp "&#160;">
<!ENTITY amp "&#38;">
<!ENTITY zwsp "&#8203;">
<!ENTITY nbhy "&#8209;">
<!ENTITY wj "&#8288;">
]>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" category="info" docName="draft-ietf-mailmaint-messageflag-mailboxattribute-00" ipr="trust200902" obsoletes="" updates="" submissionType="IETF" xml:lang="en" version="3">
  <front>
    <title abbrev="Further IMAP/JMAP keywords &amp; attributes">Registration of further IMAP/JMAP keywords and mailbox attribute names</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-mailmaint-messageflag-mailboxattribute-00"/>
    <author role="editor" initials="N.M." surname="Jenkins" fullname="Neil Jenkins"><organization>Fastmail</organization><address><postal><street>PO Box 234, Collins St West</street>
    <city>Melbourne</city>
    <code>VIC 8007</code>
    <country>Australia</country>
    </postal><email>neilj@fastmailteam.com</email>
    <uri>https://www.fastmail.com</uri>
    </address></author>
    <author fullname="Daniel Eggert" initials="D." role="editor" surname="Eggert">
      <organization>Apple Inc</organization>
      <address>
        <postal>
          <street>One Apple Park Way</street>
          <city>Cupertino</city>
          <code>CA 95014</code>
          <country>USA</country>
        </postal>
        <email>deggert@apple.com</email>
        <uri>https://www.apple.com</uri>
      </address>
    </author>
    
    <date year="2024"/>
    
    <area>Art</area>
    <workgroup>MailMaint</workgroup>
    <keyword>IMAP</keyword>
    <keyword>JMAP</keyword>
    
    <abstract>
      <t>This document defines a number of keywords that have been in use by Fastmail and Apple respectively for some this. It defines their intended use. Additionally some mailbox names with special meaning have been in use by Fastmail, and this document defines their intended use. This document registers all of these names with IANA to avoid name collisions.</t>
    </abstract>
    
  </front>
  
  <middle>
      <section>
        <name>Introduction</name>
        <t>The Internet Message Access Protocol (IMAP) specification <xref target="RFC9051"/> defines the use of message keywords, and an "IMAP Keywords" registry is created in <xref target="RFC5788"/>. Similarly <xref target="RFC8457"/> creates an "IMAP Mailbox Name Attributes Registry".</t>
        <t>This document does the following:</t>
        <ul spacing="normal">
            <li>
                <t>Defines 16 message keywords</t>
                <ul>
                  <li>$notify</li>
                  <li>$muted</li>
                  <li>$followed</li>
                  <li>$memo</li>
                  <li>$hasmemo</li>
                  <li>$hasattachment</li>
                  <li>$autosent</li>
                  <li>$unsubscribed</li>
                  <li>$canunsubscribe</li>
                  <li>$imported</li>
                  <li>$istrusted</li>
                  <li>$maskedemail</li>
                  <li>$new</li>
                  <li>$MailFlagBit0</li>
                  <li>$MailFlagBit1</li>
                  <li>$MailFlagBit2</li>
                </ul>
            </li>
          <li>
              <t>Defines 3 mailbox name attributes</t>
              <ul>
                <li>Snoozed</li>
                <li>Scheduled</li>
                <li>Memos</li>
              </ul>
          </li>
          <li>Registers these in the "IMAP Keywords" registry and "IMAP Mailbox Name Attributes" registry respectively.</li>
        </ul>
    </section>
      <section>
        <name>Requirements Language</name>
        <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>", "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"/> <xref target="RFC8174"/> when, and only when, they appear in all capitals, as shown here.</t>
      </section>

    <section anchor="mailflagbits">
      <name>Flag Colors</name>
      <t>The Internet Message Access Protocol (IMAP) specification <xref target="RFC9051"/> defines a <tt>\Flagged</tt> system flag to mark a message for urgent/special attention. The new keywords defined in Sections <xref target="mailflagbit0-keyword-registration" format="counter" />, <xref target="mailflagbit1-keyword-registration" format="counter" />, and <xref target="mailflagbit2-keyword-registration" format="counter" /> allow such a flagged message to have that flag be of one of 7 colors.</t>
    
    
    <section>
      <name>Definition of the MailFlagBit Message Keyword</name>
      <t>The 3 flag color keywords <tt>$MailFlagBit0</tt>, <tt>$MailFlagBit1</tt>, and <tt>$MailFlagBit2</tt> make up a bit pattern that define the color of the flag as such:</t>
      <table anchor="mailflagbit-combinations">
        <name>Flag Colors</name>
        <thead>
          <tr>
            <th>Bit 0</th>
            <th>Bit 1</th>
            <th>Bit 2</th>
            <th>Color</th>
          </tr>
        </thead>
        <tbody>
          <tr><td>0</td><td>0</td><td>0</td><td>red</td></tr>
          <tr><td>1</td><td>0</td><td>0</td><td>orange</td></tr>
          <tr><td>0</td><td>1</td><td>0</td><td>yellow</td></tr>
          <tr><td>1</td><td>1</td><td>1</td><td>green</td></tr>
          <tr><td>0</td><td>0</td><td>1</td><td>blue</td></tr>
          <tr><td>1</td><td>0</td><td>1</td><td>purple</td></tr>
          <tr><td>0</td><td>1</td><td>1</td><td>gray</td></tr>
        </tbody>
      </table>
      <t>These flags <bcp14>SHOULD</bcp14> be ignored if the <tt>\Flagged</tt> system flag is not set. If the <tt>\Flagged</tt> system flag is set, the flagged status <bcp14>MAY</bcp14> be displayed to the user in the color corresponding to the combination of the 3 flag color keywords.</t>
    </section>
    
    <section>
      <name>Implementation Notes</name>
      <t>A mail client that is aware of these flag color keywords <bcp14>SHOULD</bcp14> clear all 3 flag color keywords when the user unflags the message, i.e. when unsetting the <tt>\Flagged</tt> system flag, all 3 flag color keywords <bcp14>SHOULD</bcp14> also be unset.</t>
      <t>A mail client <bcp14>SHOULD NOT</bcp14> set any of these flags unless the <tt>\Flagged</tt> system flag is already set or is being set.</t>
      <t>Servers <bcp14>MAY</bcp14> unset these flag color keywords when a client unsets the <tt>\Flagged</tt> system flag.</t>
    </section>
    </section>

    <section anchor="IANA">
      <name>IANA Considerations</name>
      <t>3 IMAP/JMAP keywords are registered in the IMAP/JMAP keywords registry, as established in RFC5788.</t>
    
    <section anchor="imap-jmap-keyword-registrations"><name>IMAP/JMAP Keyword Registrations</name>

        <section anchor="notify-keyword-registration"><name>$notify keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$notify</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a notification should be shown for this message.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> <t>This keyword can cause automatic action. On supporting clients, when a new message is added to the mailstore with this keyword, the client should show the user a notification.</t>
        <t>Mail clients commonly show notifications for new mail, but often the only option is to show a notification for every message that arrvies in the inbox. This keyword allows the user to create rules (or the server to automatically determine) specific messages that should show a notification.</t>
        <t>Notifications for these messages may be in addition to notifications for messages matching other criteria, according to user preference set on the client.</t></dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on delivery when a message meets criteria such that the user should be shown a notification. It may be cleared by a client when the user opens, archives, or otherwise interacts with th message. Other clients connected to the same account may choose to automatically close the notification if the flag is cleared.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="muted-keyword-registration"><name>$muted keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$muted</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the server that the user is not interested in future replies to a particular thread.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd><t> This keyword can cause automatic action. On supporting servers, when a new message arrives that is in the same thread as a message with this keyword the server may automatically process it in some way to deprioritise it for the user, for example by moving it to the archive or trash, or marking it read. The exact action, whether this is customisable by the user, and interaction with user rules is vendor specific.</t>
        <t>A message is defined to be in the same thread as another if the server assigns them both the same thread id, as defined in <xref target="RFC8474"/> Section 5.2 for IMAP or <xref target="RFC8621"/>, Section 3 for JMAP.</t></dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP client when the user indicates they wish to mute or unmute a thread. When unmuting a thread, the client must remove the keyword from every message in the thread that has it.</dd>
        <dt>Related keywords:</dt> <dd> Mutually exclusive with <tt>$followed</tt>. If both are specified on a thread, servers MUST behave as though only <tt>$followed</tt> were set.</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> Muting a thread can mean a user won't see a reply. If someone compromises a user's account, they may mute threads where they don't want the user to see the reply, for example when sending phishing to the user's contacts. There are many other ways an attacker with access to the user's mailbox can also achieve this however, so this is not greatly increasing the attack surface.</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="followed-keyword-registration"><name>$followed keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$followed</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the server that the user is particularly interested in future replies to a particular thread.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd><t>This keyword can cause automatic action. On supporting servers, when a new message arrives that is in the same thread as a message with this keyword the server may automatically process it in some way to prioritise it for the user, for example by ignoring rules that would make it skip the inbox, or automatically adding the <tt>$notify</tt> keyword. The exact action, whether this is customisable by the user, and interaction with user rules is vendor specific.</t>
        <t>A message is defined to be in the same thread as another if the server assigns them both the same thread id, as defined in <xref target="RFC8474"/> Section 5.2 for IMAP or <xref target="RFC8621"/>, Section 3 for JMAP.</t></dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP client when the user indicates they wish to follow or unfollow a thread. When unfollowing a thread, the client must remove the keyword from every message in the thread that has it.</dd>
        <dt>Related keywords:</dt> <dd> Mutually exclusive with <tt>$muted</tt>. If both are specified on a thread, servers MUST behave as though only <tt>$followed</tt> were set.</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="memo-keyword-registration"><name>$memo keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$memo</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a message is a note-to-self from the user regarding another message in the same thread.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP client when creating such a message. The message should otherwise be contructed like a reply to the message to which this memo is attached (i.e. appropriate Subject and Reply-To headers set). In supporting clients, messages with this flag may be presented differently to the user, attached to the message the memo is commenting on, and may offer the user the ability to edit or delete the memo. (As messages are immutable, editing requires replacing the message.)</dd>
        <dt>Related keywords:</dt> <dd> The <tt>$hasmemo</tt> keyword should be set/cleared at the same time.</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="hasmemo-keyword-registration"><name>$hasmemo keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$hasmemo</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a message has an associated memo with the <tt>$memo</tt> keyword.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP client when creating a memo. The memo gets the <tt>$memo</tt> keyword, the message it is a note for gets the <tt>$hasmemo</tt> keyword. This keyword can help in searching for messages with memos, or deciding whether to fetch the whole thread to look for memos when loading a mailbox.</dd>
        <dt>Related keywords:</dt> <dd> A message with the <tt>$memo</tt> keyword should be created/destroyed at the same time.</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="hasattachment-keyword-registration"><name>$hasattachment keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$hasattachment</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a message has an attachment.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages it determines have an attachment. This can help mailbox clients indicate this to the user without having to fetch the full message body structure. Over JMAP, the "hasAttachment" Email property should indicate the same value.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="autosent-keyword-registration"><name>$autosent keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$autosent</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a message was sent automatically as a response due to a user rule or setting.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on the user's copy of their vacation response and other automated messages sent on behalf of the user. Clients may use this to indicate to the user that this message was sent automatically, as if they have forgotten the rule or vacation response is set up they may be surprised to see it among their sent items.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="unsubscribed-keyword-registration"><name>$unsubscribed keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$unsubscribed</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that it has unsubscribed from the thread this message is on.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP client on a message after attempting to unsubscribe from the mailing list this message came from (e.g., after attempting RFC8058 one-click List-Unsubscribe). It allows clients to remind the user that they have unsubscribed if they open the message again.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="canunsubscribe-keyword-registration"><name>$canunsubscribe keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$canunsubscribe</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that this message has an RFC8058-compliant List-Unsubscribe header.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages with an RFC8058-compliant List-Unsubscribe header. It may only do so if the message passes vendor-specific reputation checks. It is intended to indicate to clients that they may be able to do a one-click unsubscribe, without them having to fetch the List-Unsubscribe header to determint themself.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="imported-keyword-registration"><name>$imported keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$imported</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that this message was imported from another mailbox.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages in imports from another mailbox.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="istrusted-keyword-registration"><name>$istrusted keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$istrusted</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that the authenticity of the from name and email address have been verified with complete confidence by the server.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory. Clients may show a verification mark (often a tick icon) on messages with this keyword to indicate their trusted status to the user.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages it delivers where it wishes to confirm to the user that this is a legitimate email they can trust. It is usually only used for the mailbox provider's own messages to the customer, where they can know with absolute certainty that the friendly from name and email address are legitimate.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> Servers should make sure this keyword is only set for messages that really are trusted!</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> COMMON</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="maskedemail-keyword-registration"><name>$maskedemail keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$maskedemail</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that the message was received via an alias created for an individual sender.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory. Clients may show an icon to indicate to the user this was received via a masked email address - an alias created for a specific sender to hide the user's real email address.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages it delivers that arrived via such an alias.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> LIMITED</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

        <section anchor="new-keyword-registration"><name>$new keyword registration</name>
        <dl newline="false" spacing="compact">
        <dt>IMAP/JMAP keyword name:</dt> <dd> <tt>$new</tt></dd>
        <dt>Purpose:</dt> <dd> Indicate to the client that a message should be made more prominent to the user due to a recent action.</dd>
        <dt>Private or Shared on a server:</dt> <dd> SHARED</dd>
        <dt>Is it an advisory keyword or may it cause an automatic action:</dt> <dd> This keyword is advisory. Clients may show the status of the message.</dd>
        <dt>When/by whom the keyword is set/cleared:</dt> <dd> This keyword is set by an IMAP or JMAP server on messages after awakening them from snooze. Clients should clear the keyword when the message is opened.</dd>
        <dt>Related keywords:</dt> <dd> None</dd>
        <dt>Related IMAP capabilities:</dt> <dd> None</dd>
        <dt>Security considerations:</dt> <dd> None</dd>
        <dt>Published specification:</dt> <dd> This document</dd>
        <dt>Intended usage:</dt> <dd> LIMITED</dd>
        <dt>Scope:</dt> <dd>BOTH</dd>
        <dt>Owner/Change controller:</dt> <dd> IESG</dd>
        </dl>
        </section>

      <section anchor="mailflagbit0-keyword-registration"><name>$MailFlagBit0 keyword registration</name>
          <dl newline="false" spacing="compact">
            <dt>IMAP/JMAP keyword name:</dt><dd><tt>$MailFlagBit0</tt></dd>
            <dt>Purpose:</dt><dd>0 bit part of a 3-bit bitmask that defines the color of the flag when the has the system flag <tt>\Flagged</tt> set. See <xref target="mailflagbits" /> for details.</dd>
            <dt>Private or Shared on a server:</dt><dd>SHARED</dd>
            <dt>Is it an advisory keyword or may it cause an automatic action:</dt><dd>No</dd>
            <dt>When/by whom the keyword is set/cleared:</dt><dd>This keyword is set by an IMAP or JMAP client as the result of a user action to "flag" a message for urgent/special attention.</dd>
        <dt>Related keywords:</dt><dd><tt>$MailFlagBit1</tt>, <tt>$MailFlagBit2</tt></dd>
        <dt>Related IMAP capabilities:</dt><dd>None</dd>
        <dt>Security considerations:</dt><dd>None</dd>
        <dt>Published specification:</dt><dd>This document</dd>
        <dt>Intended usage:</dt><dd>COMMON</dd>
        <dt>Owner/Change controller:</dt><dd>IESG</dd>
          </dl>
      </section>
      
      <section anchor="mailflagbit1-keyword-registration"><name>$MailFlagBit1 keyword registration</name>
          <dl newline="false" spacing="compact">
            <dt>IMAP/JMAP keyword name:</dt><dd><tt>$MailFlagBit1</tt></dd>
            <dt>Purpose:</dt><dd>0 bit part of a 3-bit bitmask that defines the color of the flag when the has the system flag <tt>\Flagged</tt> set. See <xref target="mailflagbits" /> for details.</dd>
            <dt>Private or Shared on a server:</dt><dd>SHARED</dd>
            <dt>Is it an advisory keyword or may it cause an automatic action:</dt><dd>No</dd>
            <dt>When/by whom the keyword is set/cleared:</dt><dd>This keyword is set by an IMAP or JMAP client as the result of a user action to "flag" a message for urgent/special attention.</dd>
            <dt>Related keywords:</dt><dd><tt>$MailFlagBit0</tt>, <tt>$MailFlagBit2</tt></dd>
            <dt>Related IMAP capabilities:</dt><dd>None</dd>
            <dt>Security considerations:</dt><dd>None</dd>
            <dt>Published specification:</dt><dd>This document</dd>
            <dt>Intended usage:</dt><dd>COMMON</dd>
            <dt>Owner/Change controller:</dt><dd>IESG</dd>
          </dl>
      </section>
      
      <section anchor="mailflagbit2-keyword-registration"><name>$MailFlagBit2 keyword registration</name>
          <dl newline="false" spacing="compact">
            <dt>IMAP/JMAP keyword name:</dt><dd><tt>$MailFlagBit2</tt></dd>
            <dt>Purpose:</dt><dd>0 bit part of a 3-bit bitmask that defines the color of the flag when the has the system flag <tt>\Flagged</tt> set. See <xref target="mailflagbits" /> for details.</dd>
            <dt>Private or Shared on a server:</dt><dd>SHARED</dd>
            <dt>Is it an advisory keyword or may it cause an automatic action:</dt><dd>No</dd>
            <dt>When/by whom the keyword is set/cleared:</dt><dd>This keyword is set by an IMAP or JMAP client as the result of a user action to "flag" a message for urgent/special attention.</dd>
            <dt>Related keywords:</dt><dd><tt>$MailFlagBit0</tt>, <tt>$MailFlagBit1</tt></dd>
            <dt>Related IMAP capabilities:</dt><dd>None</dd>
            <dt>Security considerations:</dt><dd>None</dd>
            <dt>Published specification:</dt><dd>This document</dd>
            <dt>Intended usage:</dt><dd>COMMON</dd>
            <dt>Owner/Change controller:</dt><dd>IESG</dd>
          </dl>
      </section>
      
    </section>
    <section anchor="imap-jmap-mailbox-name-registrations"><name>IMAP Mailbox Name Attributes Registrations</name>

    <section anchor="snoozed-mailbox-name-attribute-registration"><name>Snoozed mailbox name attribute registration</name>
    <dl newline="false" spacing="compact">
    <dt>Attribute Name:</dt> <dd> Snoozed</dd>
    <dt>Description:</dt> <dd> Messages that have been snoozed are moved to this mailbox until the "awaken" time, when they are moved out of it again automatically by the server.</dd>
    <dt>Reference:</dt> <dd> This document.</dd>
    <dt>Usage Notes:</dt> <dd> Snooze functionality is common among services but not yet standardised. This attribute marks the mailbox where snoozed messages may be found, but does not on its own provide a way for clients to snooze messages.</dd>
    </dl>
    </section>

    <section anchor="scheduled-mailbox-name-attribute-registration"><name>Scheduled mailbox name attribute registration</name>
    <dl newline="false" spacing="compact">
    <dt>Attribute Name:</dt> <dd> Scheduled</dd>
    <dt>Description:</dt> <dd> Messages that have been scheduled to send at a later time. Once the server has sent them at the scheduled time, they will automatically be deleted or moved from this mailbox by the server (probably to the \Sent mailbox).</dd>
    <dt>Reference:</dt> <dd> This document.</dd>
    <dt>Usage Notes:</dt> <dd> Scheduled sending functionality is common among services but not yet standardised. This attribute marks the mailbox where scheduled messages may be found, but does not on its own provide a way for clients to schedule messages for sending.</dd>
    </dl>
    </section>

    <section anchor="memos-mailbox-name-attribute-registration"><name>Memos mailbox name attribute registration</name>
    <dl newline="false" spacing="compact">
    <dt>Attribute Name:</dt> <dd> Memos</dd>
    <dt>Description:</dt> <dd> Messages that have the <tt>$memo</tt> keyword. Clients creating memos are recommended to store them in this mailbox. This allows them to more easily be hidden from the user as "messages", and presented only as memos instead.</dd>
    <dt>Reference:</dt> <dd> This document.</dd>
    <dt>Usage Notes:</dt> <dd> None.</dd>
    </dl>
    </section>
    </section>
    </section>

    <section anchor="Security">
      <name>Security Considerations</name>
      <t>This document should not affect the security of the Internet.</t>
    </section>
  </middle>
  
  <back>
    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8457.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8474.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.8621.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.9051.xml"/>
        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.5788.xml"/>
      </references>
      
    </references>
  </back>
</rfc>
