{"action":"closed","issue":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/808","repository_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard","labels_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/808/labels{/name}","comments_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/808/comments","events_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/issues/808/events","html_url":"https://github.com/apinf/api-umbrella-dashboard/issues/808","id":129725065,"number":808,"title":"Add email configuration to UI; update configuration file","user":{"login":"brylie","id":17307,"avatar_url":"https://avatars.githubusercontent.com/u/17307?v=3","gravatar_id":"","url":"https://api.github.com/users/brylie","html_url":"https://github.com/brylie","followers_url":"https://api.github.com/users/brylie/followers","following_url":"https://api.github.com/users/brylie/following{/other_user}","gists_url":"https://api.github.com/users/brylie/gists{/gist_id}","starred_url":"https://api.github.com/users/brylie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brylie/subscriptions","organizations_url":"https://api.github.com/users/brylie/orgs","repos_url":"https://api.github.com/users/brylie/repos","events_url":"https://api.github.com/users/brylie/events{/privacy}","received_events_url":"https://api.github.com/users/brylie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels/Cleanup","name":"Cleanup","color":"fbca04"},{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"sebbel","id":1940568,"avatar_url":"https://avatars.githubusercontent.com/u/1940568?v=3","gravatar_id":"","url":"https://api.github.com/users/sebbel","html_url":"https://github.com/sebbel","followers_url":"https://api.github.com/users/sebbel/followers","following_url":"https://api.github.com/users/sebbel/following{/other_user}","gists_url":"https://api.github.com/users/sebbel/gists{/gist_id}","starred_url":"https://api.github.com/users/sebbel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebbel/subscriptions","organizations_url":"https://api.github.com/users/sebbel/orgs","repos_url":"https://api.github.com/users/sebbel/repos","events_url":"https://api.github.com/users/sebbel/events{/privacy}","received_events_url":"https://api.github.com/users/sebbel/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/milestones/22","html_url":"https://github.com/apinf/api-umbrella-dashboard/milestones/Sprint%2022","labels_url":"https://api.github.com/repos/apinf/api-umbrella-dashboard/milestones/22/labels","id":1557555,"number":22,"title":"Sprint 22","description":"Sprint 22: 1 - 12 February 2016","creator":{"login":"bajiat","id":11626388,"avatar_url":"https://avatars.githubusercontent.com/u/11626388?v=3","gravatar_id":"","url":"https://api.github.com/users/bajiat","html_url":"https://github.com/bajiat","followers_url":"https://api.github.com/users/bajiat/followers","following_url":"https://api.github.com/users/bajiat/following{/other_user}","gists_url":"https://api.github.com/users/bajiat/gists{/gist_id}","starred_url":"https://api.github.com/users/bajiat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bajiat/subscriptions","organizations_url":"https://api.github.com/users/bajiat/orgs","repos_url":"https://api.github.com/users/bajiat/repos","events_url":"https://api.github.com/users/bajiat/events{/privacy}","received_events_url":"https://api.github.com/users/bajiat/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":26,"state":"open","created_at":"2016-02-02T07:50:30Z","updated_at":"2016-02-11T09:26:16Z","due_on":"2016-02-11T22:00:00Z","closed_at":null},"comments":17,"created_at":"2016-01-29T10:21:43Z","updated_at":"2016-02-11T09:26:16Z","closed_at":"2016-02-11T09:26:16Z","body":"The file `/lib/_config/emails.js` contains several configuration options used by our system when sending emails. Make sure the relevant settings are exposed via the settings UI, and remove the references to the global `Config` object.\r\n\r\nIn effect, refactor our email settings so that it is more concise, and remove any unused configuration code.\r\n\r\nSpecifically of note:\r\n* `siteName` ([line 5](https://github.com/apinf/api-umbrella-dashboard/blob/develop/lib/_config/emails.js#L5))\r\n* `Accounts.emailTemplates.siteName` ([line 8](https://github.com/apinf/api-umbrella-dashboard/blob/develop/lib/_config/emails.js#L8))\r\n* `Accounts.emailTemplates.from` ([line 9](https://github.com/apinf/api-umbrella-dashboard/blob/develop/lib/_config/emails.js#L9)) - uses both `Config.name` and `Config.domain`\r\n* `socialMedia` ([lines 11 - 14](https://github.com/apinf/api-umbrella-dashboard/blob/develop/lib/_config/emails.js#L11-L14)) - iterates through `Config.socialMedia`\r\n\r\n# Related issue\r\n* #819 - determine whether to deprecate the [PrettyEmail package](https://github.com/yogiben/meteor-pretty-email/), particularly if we are not putting it to use."}}