{"action":"opened","issue":{"url":"https://api.github.com/repos/deadlyraptor/reels/issues/26","repository_url":"https://api.github.com/repos/deadlyraptor/reels","labels_url":"https://api.github.com/repos/deadlyraptor/reels/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/deadlyraptor/reels/issues/26/comments","events_url":"https://api.github.com/repos/deadlyraptor/reels/issues/26/events","html_url":"https://github.com/deadlyraptor/reels/issues/26","id":184703722,"number":26,"title":"Send confirmation email once import activity is complete","user":{"login":"deadlyraptor","id":4743706,"avatar_url":"https://avatars.githubusercontent.com/u/4743706?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlyraptor","html_url":"https://github.com/deadlyraptor","followers_url":"https://api.github.com/users/deadlyraptor/followers","following_url":"https://api.github.com/users/deadlyraptor/following{/other_user}","gists_url":"https://api.github.com/users/deadlyraptor/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlyraptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlyraptor/subscriptions","organizations_url":"https://api.github.com/users/deadlyraptor/orgs","repos_url":"https://api.github.com/users/deadlyraptor/repos","events_url":"https://api.github.com/users/deadlyraptor/events{/privacy}","received_events_url":"https://api.github.com/users/deadlyraptor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deadlyraptor/reels/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"deadlyraptor","id":4743706,"avatar_url":"https://avatars.githubusercontent.com/u/4743706?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlyraptor","html_url":"https://github.com/deadlyraptor","followers_url":"https://api.github.com/users/deadlyraptor/followers","following_url":"https://api.github.com/users/deadlyraptor/following{/other_user}","gists_url":"https://api.github.com/users/deadlyraptor/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlyraptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlyraptor/subscriptions","organizations_url":"https://api.github.com/users/deadlyraptor/orgs","repos_url":"https://api.github.com/users/deadlyraptor/repos","events_url":"https://api.github.com/users/deadlyraptor/events{/privacy}","received_events_url":"https://api.github.com/users/deadlyraptor/received_events","type":"User","site_admin":false},"assignees":[{"login":"deadlyraptor","id":4743706,"avatar_url":"https://avatars.githubusercontent.com/u/4743706?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlyraptor","html_url":"https://github.com/deadlyraptor","followers_url":"https://api.github.com/users/deadlyraptor/followers","following_url":"https://api.github.com/users/deadlyraptor/following{/other_user}","gists_url":"https://api.github.com/users/deadlyraptor/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlyraptor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlyraptor/subscriptions","organizations_url":"https://api.github.com/users/deadlyraptor/orgs","repos_url":"https://api.github.com/users/deadlyraptor/repos","events_url":"https://api.github.com/users/deadlyraptor/events{/privacy}","received_events_url":"https://api.github.com/users/deadlyraptor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-10-23T17:46:43Z","updated_at":"2016-10-23T17:46:43Z","closed_at":null,"body":"To ensure there were no errors when importing contacts, an email should be sent detailing the status of the add contacts activity. Constant Contact itself validates emails but requires user intervention via the GUI when an incorrectly formatted email is uploaded.\r\n\r\nThis enhancement consists of the following:\r\n\r\n1. **poll_activity()** - This function will poll the [status report endpoint](https://developer.constantcontact.com/docs/contacts-api/api-gui-func.html) for a response that will contain a count of successful additions, errors, and more.\r\n\r\n2. **send_email()** - A POST to the Gmail API using the response from above that will send an email with the details of the import.\r\n\r\nThis enhancement is for both member.py and cc_upload.py though the contents of the email might differ slightly (maybe not)."}}
{"actor":{"display_login":"deadlyraptor"}}