{"action":"created","issue":{"url":"https://api.github.com/repos/odeke-em/drive/issues/435","labels_url":"https://api.github.com/repos/odeke-em/drive/issues/435/labels{/name}","comments_url":"https://api.github.com/repos/odeke-em/drive/issues/435/comments","events_url":"https://api.github.com/repos/odeke-em/drive/issues/435/events","html_url":"https://github.com/odeke-em/drive/issues/435","id":111877588,"number":435,"title":"sharing to type 'anyone' does not send email","user":{"login":"wmsvision","id":7806956,"avatar_url":"https://avatars.githubusercontent.com/u/7806956?v=3","gravatar_id":"","url":"https://api.github.com/users/wmsvision","html_url":"https://github.com/wmsvision","followers_url":"https://api.github.com/users/wmsvision/followers","following_url":"https://api.github.com/users/wmsvision/following{/other_user}","gists_url":"https://api.github.com/users/wmsvision/gists{/gist_id}","starred_url":"https://api.github.com/users/wmsvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmsvision/subscriptions","organizations_url":"https://api.github.com/users/wmsvision/orgs","repos_url":"https://api.github.com/users/wmsvision/repos","events_url":"https://api.github.com/users/wmsvision/events{/privacy}","received_events_url":"https://api.github.com/users/wmsvision/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-10-16T17:41:28Z","updated_at":"2015-10-21T16:39:48Z","closed_at":"2015-10-21T16:39:48Z","body":"Hello,\r\n     I ran the following command:\r\n`drive share -emails=\"email@fake.com\" -message \"This is a test share email\" -no-prompt=true -role=writer -type=anyone JYCUST4`\r\nIt shares the folder to \"everyone\" just as expected, but I never got the email.  Is that by design and on purpose, or is that a bug?  If it is by design, how do I get the URL?\r\n\r\nI thought about using `drive pub`, but that would make a read only link, as far as I know, and does not automatically email people.\r\n\r\nThanks.  Hopefully I am missing something simple."},"comment":{"url":"https://api.github.com/repos/odeke-em/drive/issues/comments/149955373","html_url":"https://github.com/odeke-em/drive/issues/435#issuecomment-149955373","issue_url":"https://api.github.com/repos/odeke-em/drive/issues/435","id":149955373,"user":{"login":"wmsvision","id":7806956,"avatar_url":"https://avatars.githubusercontent.com/u/7806956?v=3","gravatar_id":"","url":"https://api.github.com/users/wmsvision","html_url":"https://github.com/wmsvision","followers_url":"https://api.github.com/users/wmsvision/followers","following_url":"https://api.github.com/users/wmsvision/following{/other_user}","gists_url":"https://api.github.com/users/wmsvision/gists{/gist_id}","starred_url":"https://api.github.com/users/wmsvision/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmsvision/subscriptions","organizations_url":"https://api.github.com/users/wmsvision/orgs","repos_url":"https://api.github.com/users/wmsvision/repos","events_url":"https://api.github.com/users/wmsvision/events{/privacy}","received_events_url":"https://api.github.com/users/wmsvision/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T16:39:48Z","updated_at":"2015-10-21T16:39:48Z","body":"Ok, that got around my issues, it seems.  I was actually having two problems:\r\n1.  because of a Google thing, non-Google users required a resharing of the folder in question\r\n2.  because of a Google thing, sharing with everyone did not send notification email\r\n\r\nDoing either \"drive pub theFile\" or \"drive share ... -type=anyone\" first made the second \"drive share ... -type=user\" work fine, with an email being sent.\r\n\r\nThere is no way item 1 above had anything to do with your code, which is why I never mentioned it, just went straight to google.  You confirmed that item 2 was also a Google issue.  As such, looks like your code is good."}}