{"action":"created","issue":{"url":"https://api.github.com/repos/tpitale/mail_room/issues/49","labels_url":"https://api.github.com/repos/tpitale/mail_room/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/tpitale/mail_room/issues/49/comments","events_url":"https://api.github.com/repos/tpitale/mail_room/issues/49/events","html_url":"https://github.com/tpitale/mail_room/pull/49","id":109887291,"number":49,"title":"Add arbitration for situations where multiple mail_rooms are watching the same inbox.","user":{"login":"DouweM","id":159434,"avatar_url":"https://avatars.githubusercontent.com/u/159434?v=3","gravatar_id":"","url":"https://api.github.com/users/DouweM","html_url":"https://github.com/DouweM","followers_url":"https://api.github.com/users/DouweM/followers","following_url":"https://api.github.com/users/DouweM/following{/other_user}","gists_url":"https://api.github.com/users/DouweM/gists{/gist_id}","starred_url":"https://api.github.com/users/DouweM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DouweM/subscriptions","organizations_url":"https://api.github.com/users/DouweM/orgs","repos_url":"https://api.github.com/users/DouweM/repos","events_url":"https://api.github.com/users/DouweM/events{/privacy}","received_events_url":"https://api.github.com/users/DouweM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-05T21:12:07Z","updated_at":"2015-10-06T09:37:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tpitale/mail_room/pulls/49","html_url":"https://github.com/tpitale/mail_room/pull/49","diff_url":"https://github.com/tpitale/mail_room/pull/49.diff","patch_url":"https://github.com/tpitale/mail_room/pull/49.patch"},"body":"Fixes #46.\r\n\r\nFirst attempt at solving this much talked about issue :)\r\n\r\n## Example config\r\n\r\n```yaml\r\n:mailboxes:\r\n  -\r\n    # Yada yada, stuff we know\r\n\r\n    :arbitration_method: redis\r\n    :arbitration_options:\r\n      :redis_url: unix:/path/to/redis/redis.socket\r\n      :namespace: mail_room\r\n```\r\n\r\n## Todo\r\n- [ ] Specs\r\n- [ ] Documentation in readme\r\n\r\ncc @tpitale @jacobvosmaer @cristianbica"},"comment":{"url":"https://api.github.com/repos/tpitale/mail_room/issues/comments/145798684","html_url":"https://github.com/tpitale/mail_room/pull/49#issuecomment-145798684","issue_url":"https://api.github.com/repos/tpitale/mail_room/issues/49","id":145798684,"user":{"login":"DouweM","id":159434,"avatar_url":"https://avatars.githubusercontent.com/u/159434?v=3","gravatar_id":"","url":"https://api.github.com/users/DouweM","html_url":"https://github.com/DouweM","followers_url":"https://api.github.com/users/DouweM/followers","following_url":"https://api.github.com/users/DouweM/following{/other_user}","gists_url":"https://api.github.com/users/DouweM/gists{/gist_id}","starred_url":"https://api.github.com/users/DouweM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DouweM/subscriptions","organizations_url":"https://api.github.com/users/DouweM/orgs","repos_url":"https://api.github.com/users/DouweM/repos","events_url":"https://api.github.com/users/DouweM/events{/privacy}","received_events_url":"https://api.github.com/users/DouweM/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T09:37:43Z","updated_at":"2015-10-06T09:37:43Z","body":"@tpitale Although... We can have `search` return UIDs rather than sequence IDs, which we can then pull through the arbitrator immediately, which saves us a `fetch`... Let me think on that."}}