{"action":"created","issue":{"url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/232","repository_url":"https://api.github.com/repos/KartikTalwar/gmail.js","labels_url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/232/comments","events_url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/232/events","html_url":"https://github.com/KartikTalwar/gmail.js/issues/232","id":132802920,"number":232,"title":"Can I send multiple email on 'before send' condition?","user":{"login":"shaharpan","id":14907693,"avatar_url":"https://avatars.githubusercontent.com/u/14907693?v=3","gravatar_id":"","url":"https://api.github.com/users/shaharpan","html_url":"https://github.com/shaharpan","followers_url":"https://api.github.com/users/shaharpan/followers","following_url":"https://api.github.com/users/shaharpan/following{/other_user}","gists_url":"https://api.github.com/users/shaharpan/gists{/gist_id}","starred_url":"https://api.github.com/users/shaharpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaharpan/subscriptions","organizations_url":"https://api.github.com/users/shaharpan/orgs","repos_url":"https://api.github.com/users/shaharpan/repos","events_url":"https://api.github.com/users/shaharpan/events{/privacy}","received_events_url":"https://api.github.com/users/shaharpan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-10T20:04:51Z","updated_at":"2016-06-09T19:22:52Z","closed_at":null,"body":"I am trying to make email tracking extension using this script. And its working great. Thanks for gmail.js. :)\r\nSo what basically I am doing is adding pixel image just before sending email. but issue is when there is multiple \"to\", I have only 1 pixel to send to all \"to\"s. So when any of the recipient open email. I cant tell exactly who opened the mail. (PS: Each pixel is unique and I get the unique pixel code from my server while I am in compose part) .So I want to add an condition that if there are multiple \"to\"s. I will req for multiple pixel in before send function. But if I try to make any XMLHttpRequest req from 'before send' mail is not getting sent and throwing error. \r\nI maybe doing everything wrong. Is there any way I can send multiple \"to\"s. with single email? \r\n\r\nThanks in advance. :)"},"comment":{"url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/comments/224999440","html_url":"https://github.com/KartikTalwar/gmail.js/issues/232#issuecomment-224999440","issue_url":"https://api.github.com/repos/KartikTalwar/gmail.js/issues/232","id":224999440,"user":{"login":"shaharpan","id":14907693,"avatar_url":"https://avatars.githubusercontent.com/u/14907693?v=3","gravatar_id":"","url":"https://api.github.com/users/shaharpan","html_url":"https://github.com/shaharpan","followers_url":"https://api.github.com/users/shaharpan/followers","following_url":"https://api.github.com/users/shaharpan/following{/other_user}","gists_url":"https://api.github.com/users/shaharpan/gists{/gist_id}","starred_url":"https://api.github.com/users/shaharpan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaharpan/subscriptions","organizations_url":"https://api.github.com/users/shaharpan/orgs","repos_url":"https://api.github.com/users/shaharpan/repos","events_url":"https://api.github.com/users/shaharpan/events{/privacy}","received_events_url":"https://api.github.com/users/shaharpan/received_events","type":"User","site_admin":false},"created_at":"2016-06-09T19:22:52Z","updated_at":"2016-06-09T19:22:52Z","body":"@JerryBels : Nop they have only 1 email in sent emails, but on the receiving end all have different tracking code. \r\nPS: You can invite few people or dummy emails to get starter pack to try it out. I was just getting started so I haven't investigated much after it. "}}
{"actor":{"display_login":"shaharpan"}}