{"action":"closed","issue":{"url":"https://api.github.com/repos/nylas/nylas-python/issues/17","labels_url":"https://api.github.com/repos/nylas/nylas-python/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/nylas/nylas-python/issues/17/comments","events_url":"https://api.github.com/repos/nylas/nylas-python/issues/17/events","html_url":"https://github.com/nylas/nylas-python/issues/17","id":113057531,"number":17,"title":"draft.send() does not return thread or message IDs","user":{"login":"mmautner","id":1419652,"avatar_url":"https://avatars.githubusercontent.com/u/1419652?v=3","gravatar_id":"","url":"https://api.github.com/users/mmautner","html_url":"https://github.com/mmautner","followers_url":"https://api.github.com/users/mmautner/followers","following_url":"https://api.github.com/users/mmautner/following{/other_user}","gists_url":"https://api.github.com/users/mmautner/gists{/gist_id}","starred_url":"https://api.github.com/users/mmautner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmautner/subscriptions","organizations_url":"https://api.github.com/users/mmautner/orgs","repos_url":"https://api.github.com/users/mmautner/repos","events_url":"https://api.github.com/users/mmautner/events{/privacy}","received_events_url":"https://api.github.com/users/mmautner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-23T16:46:42Z","updated_at":"2015-12-16T00:10:47Z","closed_at":"2015-12-16T00:10:47Z","body":"In v1.1.0, `draft.send()` does not return the thread or message IDs of the newly created thread (or existing thread, in the case where a send is a reply).\r\n\r\nThis is highly desirable for recording sends.\r\n\r\nCurrent workaround is to call `draft.save()` before calling `draft.send()`, but this can create \"orphaned\" drafts if the `draft.send()` fails w/ a 4XX or 5XX server error, cluttering up our users' drafts folder in their email accounts."}}