{"action":"created","issue":{"url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/338","labels_url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/338/comments","events_url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/338/events","html_url":"https://github.com/dddeastanglia/DDDEastAnglia/issues/338","id":83198597,"number":338,"title":"Emails sent from the site are not rendered nicely any more","user":{"login":"adrianbanks","id":494732,"avatar_url":"https://avatars.githubusercontent.com/u/494732?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianbanks","html_url":"https://github.com/adrianbanks","followers_url":"https://api.github.com/users/adrianbanks/followers","following_url":"https://api.github.com/users/adrianbanks/following{/other_user}","gists_url":"https://api.github.com/users/adrianbanks/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianbanks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianbanks/subscriptions","organizations_url":"https://api.github.com/users/adrianbanks/orgs","repos_url":"https://api.github.com/users/adrianbanks/repos","events_url":"https://api.github.com/users/adrianbanks/events{/privacy}","received_events_url":"https://api.github.com/users/adrianbanks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-31T21:47:41Z","updated_at":"2015-06-01T22:08:36Z","closed_at":null,"body":"This is a regression caused by #330.\r\n\r\nBefore the change, the HTML emails were formatted nicely, and had a text-specific version inside them (different content and differently formatted so as to be suitable for reading in a text client):\r\n\r\n![before](https://cloud.githubusercontent.com/assets/494732/7904062/5f5fccfe-07e6-11e5-94fd-10cf15e1a61c.png)\r\n\r\nAfter the changes to email the submissions to submitters, the emails now don't look nice, and the text and HTML versions appear to have the same content:\r\n\r\n![after](https://cloud.githubusercontent.com/assets/494732/7904076/c8326282-07e6-11e5-924d-8a3325efd0de.png)\r\n\r\nThere is also a duplicate bit of text about how to contact us (reported separately in #335)."},"comment":{"url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/comments/107730983","html_url":"https://github.com/dddeastanglia/DDDEastAnglia/issues/338#issuecomment-107730983","issue_url":"https://api.github.com/repos/dddeastanglia/DDDEastAnglia/issues/338","id":107730983,"user":{"login":"alastairs","id":52957,"avatar_url":"https://avatars.githubusercontent.com/u/52957?v=3","gravatar_id":"","url":"https://api.github.com/users/alastairs","html_url":"https://github.com/alastairs","followers_url":"https://api.github.com/users/alastairs/followers","following_url":"https://api.github.com/users/alastairs/following{/other_user}","gists_url":"https://api.github.com/users/alastairs/gists{/gist_id}","starred_url":"https://api.github.com/users/alastairs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alastairs/subscriptions","organizations_url":"https://api.github.com/users/alastairs/orgs","repos_url":"https://api.github.com/users/alastairs/repos","events_url":"https://api.github.com/users/alastairs/events{/privacy}","received_events_url":"https://api.github.com/users/alastairs/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T22:08:36Z","updated_at":"2015-06-01T22:08:36Z","body":"Does the SendGrid API allow for sending text emails only? A workaround until we can get it working properly would be to comment out the line that includes the HTML version so only the text version of emails is sent. "}}