{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7535","repository_url":"https://api.github.com/repos/HabitRPG/habitrpg","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7535/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7535/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7535/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/7535","id":157371553,"number":7535,"title":"when moderator unflags a post, email must be sent","user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/help%20welcome%20now","name":"help welcome now","color":"bfd4f2"},{"url":"https://api.github.com/repos/HabitRPG/habitrpg/labels/priority%20-%20minor","name":"priority - minor","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-29T06:13:00Z","updated_at":"2016-06-02T08:51:17Z","closed_at":null,"body":"Currently, when any player flags a post, an email is sent to some of the moderators.\r\n\r\nWe need a similar email to be sent when a moderator removes the flags from a post.\r\n\r\nThe recipient list should be the same as for flag emails.\r\n\r\nThe subject should be the same so that the unflag email is threaded with the matching flag email.\r\n\r\nThe body can be very similar, but with moderator name and unflagging date instead of the name etc of the person who flagged, and with a clear message near the top that the post has been unflagged."},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/223232960","html_url":"https://github.com/HabitRPG/habitrpg/issues/7535#issuecomment-223232960","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/7535","id":223232960,"user":{"login":"paglias","id":589911,"avatar_url":"https://avatars.githubusercontent.com/u/589911?v=3","gravatar_id":"","url":"https://api.github.com/users/paglias","html_url":"https://github.com/paglias","followers_url":"https://api.github.com/users/paglias/followers","following_url":"https://api.github.com/users/paglias/following{/other_user}","gists_url":"https://api.github.com/users/paglias/gists{/gist_id}","starred_url":"https://api.github.com/users/paglias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paglias/subscriptions","organizations_url":"https://api.github.com/users/paglias/orgs","repos_url":"https://api.github.com/users/paglias/repos","events_url":"https://api.github.com/users/paglias/events{/privacy}","received_events_url":"https://api.github.com/users/paglias/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T08:51:17Z","updated_at":"2016-06-02T08:51:17Z","body":"@lynnyliz the email setting you see in config.json is only used for password recovery that for 100% delivery have to be sent directly from our server. All other emails are sent through Mandrill"}}
{"actor":{"display_login":"paglias"}}