{"action":"opened","issue":{"url":"https://api.github.com/repos/reclosedev/lathermail/issues/3","repository_url":"https://api.github.com/repos/reclosedev/lathermail","labels_url":"https://api.github.com/repos/reclosedev/lathermail/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/reclosedev/lathermail/issues/3/comments","events_url":"https://api.github.com/repos/reclosedev/lathermail/issues/3/events","html_url":"https://github.com/reclosedev/lathermail/issues/3","id":174377181,"number":3,"title":"HTML email support","user":{"login":"mrchrisadams","id":17906,"avatar_url":"https://avatars.githubusercontent.com/u/17906?v=3","gravatar_id":"","url":"https://api.github.com/users/mrchrisadams","html_url":"https://github.com/mrchrisadams","followers_url":"https://api.github.com/users/mrchrisadams/followers","following_url":"https://api.github.com/users/mrchrisadams/following{/other_user}","gists_url":"https://api.github.com/users/mrchrisadams/gists{/gist_id}","starred_url":"https://api.github.com/users/mrchrisadams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrchrisadams/subscriptions","organizations_url":"https://api.github.com/users/mrchrisadams/orgs","repos_url":"https://api.github.com/users/mrchrisadams/repos","events_url":"https://api.github.com/users/mrchrisadams/events{/privacy}","received_events_url":"https://api.github.com/users/mrchrisadams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-31T20:58:56Z","updated_at":"2016-08-31T20:58:56Z","closed_at":null,"body":"Hi there,\r\n\r\nThanks for creating lathermail! I came across when looking for a Python 3 based equivalent to maildump.\r\n\r\nDo you have any plans to support showing the rendered HTML in an email, like you show the plain text? This is one feature I used all the time in maildump, and I'm not sure how to replicate this.\r\n\r\nI've had a look through the source code, and I'd be up for creating a pull request and having a go at implementing this myself,  but I've never used angularjs, nor flask.\r\n\r\nCan you point me at the files I might need to change if I wanted to do this?\r\n\r\nI'm assuming these two are the areas I ought to be looking at if I want to see how the plain text is rendered on the page:\r\n\r\nhttps://github.com/reclosedev/lathermail/blob/master/lathermail/mail.py#L43\r\nhttps://github.com/reclosedev/lathermail/blob/master/lathermail/web/static/index.html#L107\r\n\r\nWould it be a case of adding another tab, and adding a 'html' key to the dict yielded in `iter_parts`?\r\n\r\nThanks\r\n\r\n"}}
{"actor":{"display_login":"mrchrisadams"}}