{"action":"created","comment":{"url":"https://api.github.com/repos/jmapio/jmap/pulls/comments/135427625","pull_request_review_id":58838056,"id":135427625,"diff_hunk":"@@ -258,15 +257,13 @@ If an id given cannot be found, the update or destroy MUST be rejected with a `n\n \n ### Saving a draft\n \n-Creating messages via the *setMessages* method is only for creating draft messages and sending them. For delivering/importing a complete [@!RFC5322] message, use the `importMessages` method.\n-\n The properties of the Message object submitted for creation MUST conform to the following conditions:\n \n - **id**: This property MUST NOT be included. It is set by the server upon creation.\n - **blobId**: This property MUST NOT be included. It is set by the server upon creation.\n - **threadId**: This property MUST NOT be included. It is set by the server upon creation.\n-- **mailboxIds**: This property MUST be included. The value MUST include the id of either the mailbox with `role == \"drafts\"` (to save a draft) or the mailbox with `role == \"outbox\"` (to send the message). If this mailbox does not have `mustBeOnlyMailbox == true`, others may be included too.\n-- **keywords**: This property MUST be included. It MUST include the `$Draft` keyword and SHOULD also include `$Seen`.\n+- **mailboxIds**: This property MUST be included, and contain at least one mailbox.\n+- **keywords**: This property MUST be included. If the message is a draft, it SHOULD include the `$Draft` and `$Seen` keywords.","path":"spec/mail/message.mdown","position":22,"original_position":22,"commit_id":"7089f3f81fdae1492671e2389467af08f90a42c8","original_commit_id":"7089f3f81fdae1492671e2389467af08f90a42c8","user":{"login":"neilj","id":275995,"avatar_url":"https://avatars0.githubusercontent.com/u/275995?v=4","gravatar_id":"","url":"https://api.github.com/users/neilj","html_url":"https://github.com/neilj","followers_url":"https://api.github.com/users/neilj/followers","following_url":"https://api.github.com/users/neilj/following{/other_user}","gists_url":"https://api.github.com/users/neilj/gists{/gist_id}","starred_url":"https://api.github.com/users/neilj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilj/subscriptions","organizations_url":"https://api.github.com/users/neilj/orgs","repos_url":"https://api.github.com/users/neilj/repos","events_url":"https://api.github.com/users/neilj/events{/privacy}","received_events_url":"https://api.github.com/users/neilj/received_events","type":"User","site_admin":false},"body":"Good catch. The title of the section should really be just Creating a message, but should reference saving a draft the primary example.","created_at":"2017-08-28T01:11:04Z","updated_at":"2017-08-28T01:11:04Z","html_url":"https://github.com/jmapio/jmap/pull/99#discussion_r135427625","pull_request_url":"https://api.github.com/repos/jmapio/jmap/pulls/99","_links":{"self":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/comments/135427625"},"html":{"href":"https://github.com/jmapio/jmap/pull/99#discussion_r135427625"},"pull_request":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/99"}},"in_reply_to_id":129818761},"pull_request":{"url":"https://api.github.com/repos/jmapio/jmap/pulls/99","id":128714605,"html_url":"https://github.com/jmapio/jmap/pull/99","diff_url":"https://github.com/jmapio/jmap/pull/99.diff","patch_url":"https://github.com/jmapio/jmap/pull/99.patch","issue_url":"https://api.github.com/repos/jmapio/jmap/issues/99","number":99,"state":"open","locked":false,"title":"New MessageSubmission object for sending mail","user":{"login":"neilj","id":275995,"avatar_url":"https://avatars0.githubusercontent.com/u/275995?v=4","gravatar_id":"","url":"https://api.github.com/users/neilj","html_url":"https://github.com/neilj","followers_url":"https://api.github.com/users/neilj/followers","following_url":"https://api.github.com/users/neilj/following{/other_user}","gists_url":"https://api.github.com/users/neilj/gists{/gist_id}","starred_url":"https://api.github.com/users/neilj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilj/subscriptions","organizations_url":"https://api.github.com/users/neilj/orgs","repos_url":"https://api.github.com/users/neilj/repos","events_url":"https://api.github.com/users/neilj/events{/privacy}","received_events_url":"https://api.github.com/users/neilj/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-04T02:14:54Z","updated_at":"2017-08-28T01:11:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"230e52701f4de8f952bfa4c6535da5e90ca0c4de","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/jmapio/jmap/pulls/99/commits","review_comments_url":"https://api.github.com/repos/jmapio/jmap/pulls/99/comments","review_comment_url":"https://api.github.com/repos/jmapio/jmap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jmapio/jmap/issues/99/comments","statuses_url":"https://api.github.com/repos/jmapio/jmap/statuses/7089f3f81fdae1492671e2389467af08f90a42c8","head":{"label":"jmapio:sending","ref":"sending","sha":"7089f3f81fdae1492671e2389467af08f90a42c8","user":{"login":"jmapio","id":9357885,"avatar_url":"https://avatars1.githubusercontent.com/u/9357885?v=4","gravatar_id":"","url":"https://api.github.com/users/jmapio","html_url":"https://github.com/jmapio","followers_url":"https://api.github.com/users/jmapio/followers","following_url":"https://api.github.com/users/jmapio/following{/other_user}","gists_url":"https://api.github.com/users/jmapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jmapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmapio/subscriptions","organizations_url":"https://api.github.com/users/jmapio/orgs","repos_url":"https://api.github.com/users/jmapio/repos","events_url":"https://api.github.com/users/jmapio/events{/privacy}","received_events_url":"https://api.github.com/users/jmapio/received_events","type":"Organization","site_admin":false},"repo":{"id":26741362,"name":"jmap","full_name":"jmapio/jmap","owner":{"login":"jmapio","id":9357885,"avatar_url":"https://avatars1.githubusercontent.com/u/9357885?v=4","gravatar_id":"","url":"https://api.github.com/users/jmapio","html_url":"https://github.com/jmapio","followers_url":"https://api.github.com/users/jmapio/followers","following_url":"https://api.github.com/users/jmapio/following{/other_user}","gists_url":"https://api.github.com/users/jmapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jmapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmapio/subscriptions","organizations_url":"https://api.github.com/users/jmapio/orgs","repos_url":"https://api.github.com/users/jmapio/repos","events_url":"https://api.github.com/users/jmapio/events{/privacy}","received_events_url":"https://api.github.com/users/jmapio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jmapio/jmap","description":"JSON Meta Application Protocol Specification (JMAP)","fork":false,"url":"https://api.github.com/repos/jmapio/jmap","forks_url":"https://api.github.com/repos/jmapio/jmap/forks","keys_url":"https://api.github.com/repos/jmapio/jmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmapio/jmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmapio/jmap/teams","hooks_url":"https://api.github.com/repos/jmapio/jmap/hooks","issue_events_url":"https://api.github.com/repos/jmapio/jmap/issues/events{/number}","events_url":"https://api.github.com/repos/jmapio/jmap/events","assignees_url":"https://api.github.com/repos/jmapio/jmap/assignees{/user}","branches_url":"https://api.github.com/repos/jmapio/jmap/branches{/branch}","tags_url":"https://api.github.com/repos/jmapio/jmap/tags","blobs_url":"https://api.github.com/repos/jmapio/jmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmapio/jmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmapio/jmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmapio/jmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmapio/jmap/statuses/{sha}","languages_url":"https://api.github.com/repos/jmapio/jmap/languages","stargazers_url":"https://api.github.com/repos/jmapio/jmap/stargazers","contributors_url":"https://api.github.com/repos/jmapio/jmap/contributors","subscribers_url":"https://api.github.com/repos/jmapio/jmap/subscribers","subscription_url":"https://api.github.com/repos/jmapio/jmap/subscription","commits_url":"https://api.github.com/repos/jmapio/jmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmapio/jmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmapio/jmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmapio/jmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmapio/jmap/contents/{+path}","compare_url":"https://api.github.com/repos/jmapio/jmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmapio/jmap/merges","archive_url":"https://api.github.com/repos/jmapio/jmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmapio/jmap/downloads","issues_url":"https://api.github.com/repos/jmapio/jmap/issues{/number}","pulls_url":"https://api.github.com/repos/jmapio/jmap/pulls{/number}","milestones_url":"https://api.github.com/repos/jmapio/jmap/milestones{/number}","notifications_url":"https://api.github.com/repos/jmapio/jmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmapio/jmap/labels{/name}","releases_url":"https://api.github.com/repos/jmapio/jmap/releases{/id}","deployments_url":"https://api.github.com/repos/jmapio/jmap/deployments","created_at":"2014-11-17T05:22:59Z","updated_at":"2017-08-23T02:31:43Z","pushed_at":"2017-08-23T00:10:26Z","git_url":"git://github.com/jmapio/jmap.git","ssh_url":"git@github.com:jmapio/jmap.git","clone_url":"https://github.com/jmapio/jmap.git","svn_url":"https://github.com/jmapio/jmap","homepage":"http://jmap.io","size":880,"stargazers_count":579,"watchers_count":579,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":64,"forks":43,"open_issues":64,"watchers":579,"default_branch":"master"}},"base":{"label":"jmapio:master","ref":"master","sha":"a9208799c8f3b737c755807b97ff32d0bc8b8a85","user":{"login":"jmapio","id":9357885,"avatar_url":"https://avatars1.githubusercontent.com/u/9357885?v=4","gravatar_id":"","url":"https://api.github.com/users/jmapio","html_url":"https://github.com/jmapio","followers_url":"https://api.github.com/users/jmapio/followers","following_url":"https://api.github.com/users/jmapio/following{/other_user}","gists_url":"https://api.github.com/users/jmapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jmapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmapio/subscriptions","organizations_url":"https://api.github.com/users/jmapio/orgs","repos_url":"https://api.github.com/users/jmapio/repos","events_url":"https://api.github.com/users/jmapio/events{/privacy}","received_events_url":"https://api.github.com/users/jmapio/received_events","type":"Organization","site_admin":false},"repo":{"id":26741362,"name":"jmap","full_name":"jmapio/jmap","owner":{"login":"jmapio","id":9357885,"avatar_url":"https://avatars1.githubusercontent.com/u/9357885?v=4","gravatar_id":"","url":"https://api.github.com/users/jmapio","html_url":"https://github.com/jmapio","followers_url":"https://api.github.com/users/jmapio/followers","following_url":"https://api.github.com/users/jmapio/following{/other_user}","gists_url":"https://api.github.com/users/jmapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jmapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmapio/subscriptions","organizations_url":"https://api.github.com/users/jmapio/orgs","repos_url":"https://api.github.com/users/jmapio/repos","events_url":"https://api.github.com/users/jmapio/events{/privacy}","received_events_url":"https://api.github.com/users/jmapio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jmapio/jmap","description":"JSON Meta Application Protocol Specification (JMAP)","fork":false,"url":"https://api.github.com/repos/jmapio/jmap","forks_url":"https://api.github.com/repos/jmapio/jmap/forks","keys_url":"https://api.github.com/repos/jmapio/jmap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmapio/jmap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmapio/jmap/teams","hooks_url":"https://api.github.com/repos/jmapio/jmap/hooks","issue_events_url":"https://api.github.com/repos/jmapio/jmap/issues/events{/number}","events_url":"https://api.github.com/repos/jmapio/jmap/events","assignees_url":"https://api.github.com/repos/jmapio/jmap/assignees{/user}","branches_url":"https://api.github.com/repos/jmapio/jmap/branches{/branch}","tags_url":"https://api.github.com/repos/jmapio/jmap/tags","blobs_url":"https://api.github.com/repos/jmapio/jmap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmapio/jmap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmapio/jmap/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmapio/jmap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmapio/jmap/statuses/{sha}","languages_url":"https://api.github.com/repos/jmapio/jmap/languages","stargazers_url":"https://api.github.com/repos/jmapio/jmap/stargazers","contributors_url":"https://api.github.com/repos/jmapio/jmap/contributors","subscribers_url":"https://api.github.com/repos/jmapio/jmap/subscribers","subscription_url":"https://api.github.com/repos/jmapio/jmap/subscription","commits_url":"https://api.github.com/repos/jmapio/jmap/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmapio/jmap/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmapio/jmap/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmapio/jmap/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmapio/jmap/contents/{+path}","compare_url":"https://api.github.com/repos/jmapio/jmap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmapio/jmap/merges","archive_url":"https://api.github.com/repos/jmapio/jmap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmapio/jmap/downloads","issues_url":"https://api.github.com/repos/jmapio/jmap/issues{/number}","pulls_url":"https://api.github.com/repos/jmapio/jmap/pulls{/number}","milestones_url":"https://api.github.com/repos/jmapio/jmap/milestones{/number}","notifications_url":"https://api.github.com/repos/jmapio/jmap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmapio/jmap/labels{/name}","releases_url":"https://api.github.com/repos/jmapio/jmap/releases{/id}","deployments_url":"https://api.github.com/repos/jmapio/jmap/deployments","created_at":"2014-11-17T05:22:59Z","updated_at":"2017-08-23T02:31:43Z","pushed_at":"2017-08-23T00:10:26Z","git_url":"git://github.com/jmapio/jmap.git","ssh_url":"git@github.com:jmapio/jmap.git","clone_url":"https://github.com/jmapio/jmap.git","svn_url":"https://github.com/jmapio/jmap","homepage":"http://jmap.io","size":880,"stargazers_count":579,"watchers_count":579,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":64,"forks":43,"open_issues":64,"watchers":579,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/99"},"html":{"href":"https://github.com/jmapio/jmap/pull/99"},"issue":{"href":"https://api.github.com/repos/jmapio/jmap/issues/99"},"comments":{"href":"https://api.github.com/repos/jmapio/jmap/issues/99/comments"},"review_comments":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/99/comments"},"review_comment":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jmapio/jmap/pulls/99/commits"},"statuses":{"href":"https://api.github.com/repos/jmapio/jmap/statuses/7089f3f81fdae1492671e2389467af08f90a42c8"}}}}
{"actor":{"display_login":"neilj"}}