{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1496","repository_url":"https://api.github.com/repos/gogits/gogs","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1496/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1496/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1496/events","html_url":"https://github.com/gogits/gogs/issues/1496","id":101415966,"number":1496,"title":"Switch from HTML to plain text mails","user":{"login":"nd2s","id":439849,"avatar_url":"https://avatars.githubusercontent.com/u/439849?v=3","gravatar_id":"","url":"https://api.github.com/users/nd2s","html_url":"https://github.com/nd2s","followers_url":"https://api.github.com/users/nd2s/followers","following_url":"https://api.github.com/users/nd2s/following{/other_user}","gists_url":"https://api.github.com/users/nd2s/gists{/gist_id}","starred_url":"https://api.github.com/users/nd2s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nd2s/subscriptions","organizations_url":"https://api.github.com/users/nd2s/orgs","repos_url":"https://api.github.com/users/nd2s/repos","events_url":"https://api.github.com/users/nd2s/events{/privacy}","received_events_url":"https://api.github.com/users/nd2s/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/kind/enhancement","name":"kind/enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/16","html_url":"https://github.com/gogits/gogs/milestones/0.10.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/16/labels","id":1582342,"number":16,"title":"0.10.0","description":"Focus on APIs and webhook thing.","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":17,"state":"open","created_at":"2016-02-15T01:12:27Z","updated_at":"2016-03-21T23:11:56Z","due_on":null,"closed_at":null},"comments":33,"created_at":"2015-08-17T13:01:36Z","updated_at":"2016-03-22T20:31:34Z","closed_at":null,"body":"Currently mails are HTML only, which is very annoying and unnecessary. Loads of clients don't render them and my spamassassin even moved them straight into the junk folder (and it was right to do so, see report below).\r\n\r\nI think HTML mails are evil and totally not necessary in a development tool like this. So instead of fixing them I'd suggest to directly switch to plain text mails.\r\n\r\n\r\nSpamassassin report for the record (tested on password reset mail):\r\n\r\n\t* -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP\r\n\t*  0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.\r\n\t*       See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block\r\n\t*      for more information.\r\n\t*      [URIs: example.com]\r\n\t*  1.3 HTML_IMAGE_ONLY_24 BODY: HTML: images with 2000-2400 bytes of words\r\n\t*  1.1 MIME_HTML_ONLY BODY: Message only has text/html MIME parts\r\n\t*  0.0 HTML_MESSAGE BODY: HTML included in message\r\n\t*  2.0 MIME_HEADER_CTYPE_ONLY 'Content-Type' found without required MIME\r\n\t*      headers\r\n\t*  2.0 TO_NO_BRKTS_HTML_ONLY To: misformatted and HTML only"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/200008035","html_url":"https://github.com/gogits/gogs/issues/1496#issuecomment-200008035","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1496","id":200008035,"user":{"login":"SirCmpwn","id":1310872,"avatar_url":"https://avatars.githubusercontent.com/u/1310872?v=3","gravatar_id":"","url":"https://api.github.com/users/SirCmpwn","html_url":"https://github.com/SirCmpwn","followers_url":"https://api.github.com/users/SirCmpwn/followers","following_url":"https://api.github.com/users/SirCmpwn/following{/other_user}","gists_url":"https://api.github.com/users/SirCmpwn/gists{/gist_id}","starred_url":"https://api.github.com/users/SirCmpwn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirCmpwn/subscriptions","organizations_url":"https://api.github.com/users/SirCmpwn/orgs","repos_url":"https://api.github.com/users/SirCmpwn/repos","events_url":"https://api.github.com/users/SirCmpwn/events{/privacy}","received_events_url":"https://api.github.com/users/SirCmpwn/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T20:31:34Z","updated_at":"2016-03-22T20:31:34Z","body":"Sending HTML emails is a bug in general. Plaintext emails will work fine for any reader."}}