Internet-Draft | Abbreviated Title | November 2024 |
Eggert | Expires 8 May 2025 | [Page] |
This document defines 3 new IMAP/JMAP keywords: $MailFlagBit0, $MailFlagBit1, and $MailFlagBit2 for specifying flag colors. It registers them with IANA to avoid name collisions.¶
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 8 May 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.¶
The Internet Message Access Protocol (IMAP) specification [RFC9051] defines the use of message keywords, and an "IMAP Keywords" registry is created in [RFC5788]. [RFC9051] defines a \Flagged
system flag to mark a message for urgent/special attention. The new keywords defined in this document allow such a flagged message to have that flag be of one of 7 colors.¶
This document does the following:¶
$MailFlagBit0
, $MailFlagBit1
, and $MailFlagBit2
, to apply to any message that has the \Flagged
keyword set;¶
$MailFlagBit0
, $MailFlagBit1
, and $MailFlagBit2
keywords in the "IMAP Keywords" registry;¶
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 3 flag color keywords $MailFlagBit0
, $MailFlagBit1
, and $MailFlagBit2
make up a bit pattern that defined the color of the flag as such:¶
Bit 0 | Bit 1 | Bit 2 | Color |
---|---|---|---|
0 | 0 | 0 | red |
1 | 0 | 0 | orange |
0 | 1 | 0 | yellow |
0 | 1 | 1 | green |
0 | 0 | 1 | blue |
1 | 0 | 1 | purple |
0 | 1 | 1 | gray |
These flags SHOULD be ignored if the \Flagged
system flag is not set. If the \Flagged
system flag is set, the flagged status MAY be displayed to the user in the color corresponding to the combination of the 3 flag color keywords.¶
A mail client that is aware of these flag color keywords SHOULD clear all 3 flag color keywords when the user unflags the message, i.e. when unsetting the \Flagged
system flag, all 3 flag color keywords SHOULD also be unset.¶
3 IMAP/JMAP keywords are registered in the IMAP/JMAP keywords registry, as established in RFC5788.¶
$MailFlagBit0
¶
\Flagged
set¶
$MailFlagBit1
, $MailFlagBit2
¶
$MailFlagBit1
¶
\Flagged
set¶
$MailFlagBit0
, $MailFlagBit2
¶
$MailFlagBit2
¶
\Flagged
set¶
$MailFlagBit0
, $MailFlagBit1
¶
This document should not affect the security of the Internet.¶