{"action":"created","issue":{"url":"https://api.github.com/repos/deitch/smtp-tester/issues/8","repository_url":"https://api.github.com/repos/deitch/smtp-tester","labels_url":"https://api.github.com/repos/deitch/smtp-tester/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/deitch/smtp-tester/issues/8/comments","events_url":"https://api.github.com/repos/deitch/smtp-tester/issues/8/events","html_url":"https://github.com/deitch/smtp-tester/issues/8","id":148464051,"number":8,"title":"Message ID passed to handler is off by one","user":{"login":"djanowski","id":2268,"avatar_url":"https://avatars.githubusercontent.com/u/2268?v=3","gravatar_id":"","url":"https://api.github.com/users/djanowski","html_url":"https://github.com/djanowski","followers_url":"https://api.github.com/users/djanowski/followers","following_url":"https://api.github.com/users/djanowski/following{/other_user}","gists_url":"https://api.github.com/users/djanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/djanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djanowski/subscriptions","organizations_url":"https://api.github.com/users/djanowski/orgs","repos_url":"https://api.github.com/users/djanowski/repos","events_url":"https://api.github.com/users/djanowski/events{/privacy}","received_events_url":"https://api.github.com/users/djanowski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-14T19:50:28Z","updated_at":"2016-04-16T20:28:58Z","closed_at":"2016-04-16T18:28:45Z","body":"Offending snippet:\r\n\r\n```js\r\nmsgs[msgid++] = email;\r\nprocessMsg(email,msgid);\r\n```\r\n\r\nThis means that if you try to `remove` by the ID you just got, nothing actually happens.\r\n\r\nAlso, might be worth throwing an error if the message ID doesn't exist when you call `remove`.\r\n\r\nI tried to fix this issue myself and submit a PR, but #7."},"comment":{"url":"https://api.github.com/repos/deitch/smtp-tester/issues/comments/210891635","html_url":"https://github.com/deitch/smtp-tester/issues/8#issuecomment-210891635","issue_url":"https://api.github.com/repos/deitch/smtp-tester/issues/8","id":210891635,"user":{"login":"djanowski","id":2268,"avatar_url":"https://avatars.githubusercontent.com/u/2268?v=3","gravatar_id":"","url":"https://api.github.com/users/djanowski","html_url":"https://github.com/djanowski","followers_url":"https://api.github.com/users/djanowski/followers","following_url":"https://api.github.com/users/djanowski/following{/other_user}","gists_url":"https://api.github.com/users/djanowski/gists{/gist_id}","starred_url":"https://api.github.com/users/djanowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djanowski/subscriptions","organizations_url":"https://api.github.com/users/djanowski/orgs","repos_url":"https://api.github.com/users/djanowski/repos","events_url":"https://api.github.com/users/djanowski/events{/privacy}","received_events_url":"https://api.github.com/users/djanowski/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T20:28:58Z","updated_at":"2016-04-16T20:28:58Z","body":"Thank you for looking at this so quickly and cutting a release. \r\n\r\nWe use it at @broadly to test our emails.\r\n\r\nShavua tov!"}}