JMAP for Mail
draft-jenkins-jmapmail-00

Document Type Active Internet-Draft (individual)
Last updated 2016-10-18
Stream (None)
Intended RFC status (None)
Formats plain text xml pdf html bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
JMAP                                                          N. Jenkins
Internet-Draft                                                  FastMail
Intended status: Standards Track                        October 19, 2016
Expires: April 22, 2017

                             JMAP for Mail
                       draft-jenkins-jmapmail-00

Abstract

   This document specifies a data model for synchronising email data
   with a server using JMAP.

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 http://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 April 22, 2017.

Copyright Notice

   Copyright (c) 2016 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
   (http://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
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Jenkins                  Expires April 22, 2017                 [Page 1]
Internet-Draft                  JMAP Mail                   October 2016

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Notational Conventions  . . . . . . . . . . . . . . . . .   3
     1.2.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   4
     1.3.  Addition to the capabilities object . . . . . . . . . . .   4
   2.  Mailboxes . . . . . . . . . . . . . . . . . . . . . . . . . .   4
     2.1.  getMailboxes  . . . . . . . . . . . . . . . . . . . . . .   7
     2.2.  getMailboxUpdates . . . . . . . . . . . . . . . . . . . .   8
     2.3.  setMailboxes  . . . . . . . . . . . . . . . . . . . . . .  10
       2.3.1.  Ordering of changes . . . . . . . . . . . . . . . . .  11
       2.3.2.  Creating mailboxes  . . . . . . . . . . . . . . . . .  11
       2.3.3.  Updating mailboxes  . . . . . . . . . . . . . . . . .  12
       2.3.4.  Destroying mailboxes  . . . . . . . . . . . . . . . .  13
       2.3.5.  Response  . . . . . . . . . . . . . . . . . . . . . .  14
   3.  MessageLists  . . . . . . . . . . . . . . . . . . . . . . . .  15
     3.1.  getMessageList  . . . . . . . . . . . . . . . . . . . . .  16
       3.1.1.  Filtering . . . . . . . . . . . . . . . . . . . . . .  17
       3.1.2.  Sorting . . . . . . . . . . . . . . . . . . . . . . .  20
       3.1.3.  Thread collapsing . . . . . . . . . . . . . . . . . .  21
       3.1.4.  Windowing . . . . . . . . . . . . . . . . . . . . . .  22
       3.1.5.  Response  . . . . . . . . . . . . . . . . . . . . . .  22
     3.2.  getMessageListUpdates . . . . . . . . . . . . . . . . . .  24
   4.  Threads . . . . . . . . . . . . . . . . . . . . . . . . . . .  27
     4.1.  getThreads  . . . . . . . . . . . . . . . . . . . . . . .  27
     4.2.  getThreadUpdates  . . . . . . . . . . . . . . . . . . . .  29
   5.  Messages  . . . . . . . . . . . . . . . . . . . . . . . . . .  31
     5.1.  getMessages . . . . . . . . . . . . . . . . . . . . . . .  35
     5.2.  getMessageUpdates . . . . . . . . . . . . . . . . . . . .  37
     5.3.  setMessages . . . . . . . . . . . . . . . . . . . . . . .  39
       5.3.1.  Saving a draft  . . . . . . . . . . . . . . . . . . .  40
       5.3.2.  Updating messages . . . . . . . . . . . . . . . . . .  43
       5.3.3.  Sending messages  . . . . . . . . . . . . . . . . . .  44
       5.3.4.  Cancelling a send . . . . . . . . . . . . . . . . . .  44
       5.3.5.  Destroying messages . . . . . . . . . . . . . . . . .  44
       5.3.6.  Response  . . . . . . . . . . . . . . . . . . . . . .  45
     5.4.  importMessages  . . . . . . . . . . . . . . . . . . . . .  46
     5.5.  copyMessages  . . . . . . . . . . . . . . . . . . . . . .  47
     5.6.  reportMessages  . . . . . . . . . . . . . . . . . . . . .  49
   6.  Identities  . . . . . . . . . . . . . . . . . . . . . . . . .  50
     6.1.  getIdentities . . . . . . . . . . . . . . . . . . . . . .  51
Show full document text