{"action":"created","issue":{"url":"https://api.github.com/repos/olimart/yamail/issues/16","labels_url":"https://api.github.com/repos/olimart/yamail/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/olimart/yamail/issues/16/comments","events_url":"https://api.github.com/repos/olimart/yamail/issues/16/events","html_url":"https://github.com/olimart/yamail/pull/16","id":111962932,"number":16,"title":"Mandrill webhook","user":{"login":"olimart","id":547754,"avatar_url":"https://avatars.githubusercontent.com/u/547754?v=3","gravatar_id":"","url":"https://api.github.com/users/olimart","html_url":"https://github.com/olimart","followers_url":"https://api.github.com/users/olimart/followers","following_url":"https://api.github.com/users/olimart/following{/other_user}","gists_url":"https://api.github.com/users/olimart/gists{/gist_id}","starred_url":"https://api.github.com/users/olimart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olimart/subscriptions","organizations_url":"https://api.github.com/users/olimart/orgs","repos_url":"https://api.github.com/users/olimart/repos","events_url":"https://api.github.com/users/olimart/events{/privacy}","received_events_url":"https://api.github.com/users/olimart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-17T13:19:02Z","updated_at":"2015-10-27T04:50:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/olimart/yamail/pulls/16","html_url":"https://github.com/olimart/yamail/pull/16","diff_url":"https://github.com/olimart/yamail/pull/16.diff","patch_url":"https://github.com/olimart/yamail/pull/16.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/olimart/yamail/issues/comments/151375460","html_url":"https://github.com/olimart/yamail/pull/16#issuecomment-151375460","issue_url":"https://api.github.com/repos/olimart/yamail/issues/16","id":151375460,"user":{"login":"nazrulcse","id":1034949,"avatar_url":"https://avatars.githubusercontent.com/u/1034949?v=3","gravatar_id":"","url":"https://api.github.com/users/nazrulcse","html_url":"https://github.com/nazrulcse","followers_url":"https://api.github.com/users/nazrulcse/followers","following_url":"https://api.github.com/users/nazrulcse/following{/other_user}","gists_url":"https://api.github.com/users/nazrulcse/gists{/gist_id}","starred_url":"https://api.github.com/users/nazrulcse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nazrulcse/subscriptions","organizations_url":"https://api.github.com/users/nazrulcse/orgs","repos_url":"https://api.github.com/users/nazrulcse/repos","events_url":"https://api.github.com/users/nazrulcse/events{/privacy}","received_events_url":"https://api.github.com/users/nazrulcse/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T04:50:25Z","updated_at":"2015-10-27T04:50:25Z","body":"Hi Oliver\n\nAccording to mandrill webhook documentation, We can pass additional\nparameters during sending an email as matadata. Mandrill webhook return\nthat additional parameters when a soft/hard is ocure. I have pass list_id\nduring prepare mail at (mandrill_provider.rb, 43). I learn this from here (\nhttps://mandrillapp.com/api/docs/messages.html). Please let me know if you\nhave any questions.\n\nthanks\nnazrul\n\nOn Tue, Oct 27, 2015 at 10:02 AM, Olivier <notifications@github.com> wrote:\n\n> @nazrulcse <https://github.com/nazrulcse> can you point me where you\n> learnt about list_id being returned under metadata key.\n>\n> list_id = msg[\"metadata\"][\"list_id\"]\n> list = List.find_by_id(list_id)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/olimart/yamail/pull/16#issuecomment-151367876>.\n>\n"}}