{"action":"created","issue":{"url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/168","repository_url":"https://api.github.com/repos/niftylettuce/node-email-templates","labels_url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/168/comments","events_url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/168/events","html_url":"https://github.com/niftylettuce/node-email-templates/issues/168","id":152867066,"number":168,"title":"styles not being inlined","user":{"login":"jamesdixon","id":110114,"avatar_url":"https://avatars.githubusercontent.com/u/110114?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesdixon","html_url":"https://github.com/jamesdixon","followers_url":"https://api.github.com/users/jamesdixon/followers","following_url":"https://api.github.com/users/jamesdixon/following{/other_user}","gists_url":"https://api.github.com/users/jamesdixon/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesdixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesdixon/subscriptions","organizations_url":"https://api.github.com/users/jamesdixon/orgs","repos_url":"https://api.github.com/users/jamesdixon/repos","events_url":"https://api.github.com/users/jamesdixon/events{/privacy}","received_events_url":"https://api.github.com/users/jamesdixon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T20:29:35Z","updated_at":"2016-05-04T08:37:08Z","closed_at":null,"body":"Hi,\r\n\r\nI'm not seeing styles inline within my emails whatsoever. For reference, I'm using the Mailgun transactional templates referenced in the README.\r\n\r\nMy directory structure looks like so:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/110114/14997300/509e41a0-113b-11e6-8926-b91e8d8ad6ed.png)\r\n\r\nAnd the code is fairly trivial:\r\n\r\n```javascript\r\nconst template = new EmailTemplate(Path.join(internals.templatesDir, type));\r\n\r\n    return template\r\n        .render(message)\r\n        .then((result) => {\r\n\r\n            return internals.sendEmail(\r\n                email,\r\n                subject,\r\n                result.html,\r\n                result.text\r\n            );\r\n        });\r\n```\r\n\r\nThe email does send with text included, but there is no styling.\r\n\r\nAny suggestions?\r\n\r\nThanks,\r\nJames"},"comment":{"url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/comments/216787158","html_url":"https://github.com/niftylettuce/node-email-templates/issues/168#issuecomment-216787158","issue_url":"https://api.github.com/repos/niftylettuce/node-email-templates/issues/168","id":216787158,"user":{"login":"row1","id":503423,"avatar_url":"https://avatars.githubusercontent.com/u/503423?v=3","gravatar_id":"","url":"https://api.github.com/users/row1","html_url":"https://github.com/row1","followers_url":"https://api.github.com/users/row1/followers","following_url":"https://api.github.com/users/row1/following{/other_user}","gists_url":"https://api.github.com/users/row1/gists{/gist_id}","starred_url":"https://api.github.com/users/row1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/row1/subscriptions","organizations_url":"https://api.github.com/users/row1/orgs","repos_url":"https://api.github.com/users/row1/repos","events_url":"https://api.github.com/users/row1/events{/privacy}","received_events_url":"https://api.github.com/users/row1/received_events","type":"User","site_admin":false},"created_at":"2016-05-04T08:37:08Z","updated_at":"2016-05-04T08:37:08Z","body":"The file name should be `style` and not `styles`. Also not sure if `.css` is a supported extension, if not then try `style.scss`."}}