{"action":"opened","issue":{"url":"https://api.github.com/repos/TeslaGov/emailr/issues/19","repository_url":"https://api.github.com/repos/TeslaGov/emailr","labels_url":"https://api.github.com/repos/TeslaGov/emailr/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/TeslaGov/emailr/issues/19/comments","events_url":"https://api.github.com/repos/TeslaGov/emailr/issues/19/events","html_url":"https://github.com/TeslaGov/emailr/issues/19","id":256035515,"number":19,"title":"Remove InboundEmailApi#getMessage","user":{"login":"kevinmichaelchen","id":5129994,"avatar_url":"https://avatars1.githubusercontent.com/u/5129994?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinmichaelchen","html_url":"https://github.com/kevinmichaelchen","followers_url":"https://api.github.com/users/kevinmichaelchen/followers","following_url":"https://api.github.com/users/kevinmichaelchen/following{/other_user}","gists_url":"https://api.github.com/users/kevinmichaelchen/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinmichaelchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinmichaelchen/subscriptions","organizations_url":"https://api.github.com/users/kevinmichaelchen/orgs","repos_url":"https://api.github.com/users/kevinmichaelchen/repos","events_url":"https://api.github.com/users/kevinmichaelchen/events{/privacy}","received_events_url":"https://api.github.com/users/kevinmichaelchen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-07T18:52:24Z","updated_at":"2017-09-07T18:52:24Z","closed_at":null,"author_association":"OWNER","body":"emailr should not have javax mail in its public API. Currently we have a method that allows the consumer to exchange an InboundEmail POJO for a javax.mail.Message. We do this in our consumer app for sending multipart emails with EmailClient\r\n```java\r\npublic void send( Email email, Message rfc ) {}\r\n```\r\nInstead, InboundEmailApi#getMessage should return an InputStream, and EmailClient can accept an InputStream and internally [construct a Message from an InputStream](https://stackoverflow.com/questions/2781739/loading-eml-files-into-javax-mail-messages)."}}
{"actor":{"display_login":"kevinmichaelchen"}}