{"action":"opened","issue":{"url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-Android/issues/85","labels_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-Android/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-Android/issues/85/comments","events_url":"https://api.github.com/repos/OfficeDev/Office-365-SDK-for-Android/issues/85/events","html_url":"https://github.com/OfficeDev/Office-365-SDK-for-Android/issues/85","id":81617249,"number":85,"title":"Request support for removing an attachment from an email","user":{"login":"JohnAustin-MSFT","id":8884923,"avatar_url":"https://avatars.githubusercontent.com/u/8884923?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnAustin-MSFT","html_url":"https://github.com/JohnAustin-MSFT","followers_url":"https://api.github.com/users/JohnAustin-MSFT/followers","following_url":"https://api.github.com/users/JohnAustin-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/JohnAustin-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnAustin-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnAustin-MSFT/subscriptions","organizations_url":"https://api.github.com/users/JohnAustin-MSFT/orgs","repos_url":"https://api.github.com/users/JohnAustin-MSFT/repos","events_url":"https://api.github.com/users/JohnAustin-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/JohnAustin-MSFT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-27T20:45:36Z","updated_at":"2015-05-27T20:45:36Z","closed_at":null,"body":"You can add an attachment to an email in the drafts folder with the following code: \r\n        mOutlookClient\r\n                .getMe()\r\n                .getMessages()\r\n                .getById(mailId)\r\n                .getAttachments()\r\n                .add(itemAttachment)\r\n                .get();\r\n\r\nThere should be a .remove(AttachmentId) method on the attachments collection so that you can remove an attachment from a draft email. This is supported in the REST API.  \r\nDELETE https://outlook.office365.com/api/v1.0/me/messages/{message_id}/attachments/{attachment_id}\r\n"}}