JMAP for Mail
draft-ietf-jmap-mail-14

Document Type Active Internet-Draft (jmap WG)
Last updated 2019-02-04 (latest revision 2019-01-16)
Replaces draft-jenkins-jmapmail
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Bron Gondwana
Shepherd write-up Show (last changed 2018-12-02)
IESG IESG state IESG Evaluation
Consensus Boilerplate Yes
Telechat date On agenda of 2019-02-21 IESG telechat
Has a DISCUSS. Needs 8 more YES or NO OBJECTION positions to pass.
Responsible AD Alexey Melnikov
Send notices to Bron Gondwana <brong@fastmailteam.com>
IANA IANA review state IANA - Not OK
IANA action state None
JMAP                                                          N. Jenkins
Internet-Draft                                                  FastMail
Updates: 5788 (if approved)                                    C. Newman
Intended status: Standards Track                                  Oracle
Expires: July 21, 2019                                  January 17, 2019

                             JMAP for Mail
                        draft-ietf-jmap-mail-14

Abstract

   This document specifies a data model for synchronising email data
   with a server using JMAP.  Clients can use this to efficiently
   search, access, organise and send messages, and get pushed
   notifications for fast resynchronisation when new messages are
   delivered or a change is made in another client.

Status of This Memo

   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 July 21, 2019.

Copyright Notice

   Copyright (c) 2019 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 Simplified BSD License text as described in Section 4.e of

Jenkins & Newman          Expires July 21, 2019                 [Page 1]
Internet-Draft                  JMAP Mail                   January 2019

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
     1.1.  Notational conventions  . . . . . . . . . . . . . . . . .   4
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
     1.3.  Additions to the capabilities object  . . . . . . . . . .   4
       1.3.1.  urn:ietf:params:jmap:mail . . . . . . . . . . . . . .   4
       1.3.2.  urn:ietf:params:jmap:submission . . . . . . . . . . .   5
       1.3.3.  urn:ietf:params:jmap:vacationresponse . . . . . . . .   6
     1.4.  Data type support in different accounts . . . . . . . . .   6
     1.5.  Push  . . . . . . . . . . . . . . . . . . . . . . . . . .   7
       1.5.1.  Example . . . . . . . . . . . . . . . . . . . . . . .   7
     1.6.  Ids . . . . . . . . . . . . . . . . . . . . . . . . . . .   7
   2.  Mailboxes . . . . . . . . . . . . . . . . . . . . . . . . . .   7
     2.1.  Mailbox/get . . . . . . . . . . . . . . . . . . . . . . .  11
     2.2.  Mailbox/changes . . . . . . . . . . . . . . . . . . . . .  11
     2.3.  Mailbox/query . . . . . . . . . . . . . . . . . . . . . .  11
     2.4.  Mailbox/queryChanges  . . . . . . . . . . . . . . . . . .  12
     2.5.  Mailbox/set . . . . . . . . . . . . . . . . . . . . . . .  12
     2.6.  Example . . . . . . . . . . . . . . . . . . . . . . . . .  13
   3.  Threads . . . . . . . . . . . . . . . . . . . . . . . . . . .  17
     3.1.  Thread/get  . . . . . . . . . . . . . . . . . . . . . . .  18
       3.1.1.  Example . . . . . . . . . . . . . . . . . . . . . . .  18
     3.2.  Thread/changes  . . . . . . . . . . . . . . . . . . . . .  18
   4.  Emails  . . . . . . . . . . . . . . . . . . . . . . . . . . .  19
     4.1.  Properties of the Email object  . . . . . . . . . . . . .  19
       4.1.1.  Metadata  . . . . . . . . . . . . . . . . . . . . . .  20
       4.1.2.  Header fields parsed forms  . . . . . . . . . . . . .  22
       4.1.3.  Header fields properties  . . . . . . . . . . . . . .  27
       4.1.4.  Body parts  . . . . . . . . . . . . . . . . . . . . .  29
     4.2.  Email/get . . . . . . . . . . . . . . . . . . . . . . . .  35
       4.2.1.  Example . . . . . . . . . . . . . . . . . . . . . . .  37
     4.3.  Email/changes . . . . . . . . . . . . . . . . . . . . . .  38
     4.4.  Email/query . . . . . . . . . . . . . . . . . . . . . . .  39
       4.4.1.  Filtering . . . . . . . . . . . . . . . . . . . . . .  39
       4.4.2.  Sorting . . . . . . . . . . . . . . . . . . . . . . .  41
       4.4.3.  Thread collapsing . . . . . . . . . . . . . . . . . .  43
     4.5.  Email/queryChanges  . . . . . . . . . . . . . . . . . . .  43
Show full document text