{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3385","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3385/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3385/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3385/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3385","id":91908545,"number":3385,"title":"[feature] Send email to contributors added to a project","user":{"login":"samanehsan","id":6414394,"avatar_url":"https://avatars.githubusercontent.com/u/6414394?v=3","gravatar_id":"","url":"https://api.github.com/users/samanehsan","html_url":"https://github.com/samanehsan","followers_url":"https://api.github.com/users/samanehsan/followers","following_url":"https://api.github.com/users/samanehsan/following{/other_user}","gists_url":"https://api.github.com/users/samanehsan/gists{/gist_id}","starred_url":"https://api.github.com/users/samanehsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samanehsan/subscriptions","organizations_url":"https://api.github.com/users/samanehsan/orgs","repos_url":"https://api.github.com/users/samanehsan/repos","events_url":"https://api.github.com/users/samanehsan/events{/privacy}","received_events_url":"https://api.github.com/users/samanehsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/45","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.46.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/45/labels","id":1235545,"number":45,"title":"0.46.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":3,"state":"open","created_at":"2015-07-31T18:20:56Z","updated_at":"2015-08-04T16:11:11Z","due_on":null,"closed_at":null},"comments":29,"created_at":"2015-06-29T20:58:05Z","updated_at":"2015-08-05T14:55:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/3385","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3385","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/3385.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/3385.patch"},"body":"Purpose\r\n-----------\r\nAddresses #3369 -- send users an email when they are added to an OSF project or component. \r\n\r\nChanges\r\n------------\r\n- When a contributor with an OSF account is added to a project or component, send an email notifying them that they have been added: \r\n - If the user is added to a project and several of it's components at once, the user will only receive one email. \r\n - If they get added to another component later, they will receive an email. \r\n- Add a `contributor_record` field to the `Node` model to keep track of the last time each contributor was sent an email for throttling. "},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/128024556","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/3385#issuecomment-128024556","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/3385","id":128024556,"user":{"login":"samanehsan","id":6414394,"avatar_url":"https://avatars.githubusercontent.com/u/6414394?v=3","gravatar_id":"","url":"https://api.github.com/users/samanehsan","html_url":"https://github.com/samanehsan","followers_url":"https://api.github.com/users/samanehsan/followers","following_url":"https://api.github.com/users/samanehsan/following{/other_user}","gists_url":"https://api.github.com/users/samanehsan/gists{/gist_id}","starred_url":"https://api.github.com/users/samanehsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samanehsan/subscriptions","organizations_url":"https://api.github.com/users/samanehsan/orgs","repos_url":"https://api.github.com/users/samanehsan/repos","events_url":"https://api.github.com/users/samanehsan/events{/privacy}","received_events_url":"https://api.github.com/users/samanehsan/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T14:55:00Z","updated_at":"2015-08-05T14:55:00Z","body":"Done making changes @sloria :partly_sunny: "}}