{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Diagnostics/issues/208","labels_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/208/comments","events_url":"https://api.github.com/repos/aspnet/Diagnostics/issues/208/events","html_url":"https://github.com/aspnet/Diagnostics/issues/208","id":117577240,"number":208,"title":"Elm: error mail","user":{"login":"Painyjames","id":1241373,"avatar_url":"https://avatars.githubusercontent.com/u/1241373?v=3","gravatar_id":"","url":"https://api.github.com/users/Painyjames","html_url":"https://github.com/Painyjames","followers_url":"https://api.github.com/users/Painyjames/followers","following_url":"https://api.github.com/users/Painyjames/following{/other_user}","gists_url":"https://api.github.com/users/Painyjames/gists{/gist_id}","starred_url":"https://api.github.com/users/Painyjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Painyjames/subscriptions","organizations_url":"https://api.github.com/users/Painyjames/orgs","repos_url":"https://api.github.com/users/Painyjames/repos","events_url":"https://api.github.com/users/Painyjames/events{/privacy}","received_events_url":"https://api.github.com/users/Painyjames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-18T12:34:13Z","updated_at":"2015-11-18T12:34:13Z","closed_at":null,"body":"I was wondering if it would be possible to have something in place to deal with error emails.\r\nIt could be a delegate to implement on the startup or something of the sort.\r\n\r\n```\r\nservices.ConfigureElm(elmOptions =>\r\n\t\t\t{\r\n\t\t\telmOptions.OnErrorEmail = (ex, args) => emailPlatform.SendEmail());\r\n            });\r\n```\r\n\r\nAnd then having ```ElmLogger ``` to call OnErrorEmail if it's assigned."}}