{"action":"created","comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments/57249577","id":57249577,"diff_hunk":"@@ -187,6 +187,36 @@ The client keys used with Parse are no longer necessary with Parse Server. If yo\n * `loggerAdapter` - The default behavior/transport (File) can be changed by creating an adapter class (see [`LoggerAdapter.js`](https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Logger/LoggerAdapter.js)).\n * `databaseAdapter` - The backing store can be changed by creating an adapter class (see `DatabaseAdapter.js`). Defaults to `MongoStorageAdapter`.\n \n+##### Email verification and password reset\n+\n+Verifying user email addresses and enabling password reset via email requries an email adapter. As part of the `parse-server` package we provide an adapter for sending email through Mailgun. To use it, sign up for Mailgun, and add this to your initialization code:\n+\n+```js\n+var server = ParseServer({\n+  ...otherOptions,\n+  // Enable email verification\n+  verifyUserEmails: true,\n+  // The public URL of your app.\n+  // This will appear in the link that is used to verify email addresses and reset passwords.\n+  publicServerURL: 'https://example.com',\n+  // Your apps name. This will appear in the subject and body of the emails that are sent.\n+  appName: 'Parse App',\n+  // The email adapter\n+  emailAdapter: {\n+    module: 'parse-server/lib/Adapters/Email/SimpleMailgunAdapter',","path":"README.md","position":29,"original_position":29,"commit_id":"8c3939415fca6a23d3e83ef679f518ec2a3df68f","original_commit_id":"8c3939415fca6a23d3e83ef679f518ec2a3df68f","user":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"body":"How would 1 repo with all the adapters work for requiring? Then you can't use the initialization syntax I described above.\r\n\r\nKeeping the source in `parse-server` seems messy if it's in a different npm package. One to one mapping between repos and packages seems like the only sane solution to me.","created_at":"2016-03-23T22:38:59Z","updated_at":"2016-03-23T22:38:59Z","html_url":"https://github.com/ParsePlatform/parse-server/pull/1144#discussion_r57249577","pull_request_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144","_links":{"self":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments/57249577"},"html":{"href":"https://github.com/ParsePlatform/parse-server/pull/1144#discussion_r57249577"},"pull_request":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144"}}},"pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144","id":63833191,"html_url":"https://github.com/ParsePlatform/parse-server/pull/1144","diff_url":"https://github.com/ParsePlatform/parse-server/pull/1144.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/1144.patch","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1144","number":1144,"state":"open","locked":false,"title":"Document email adapter","user":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"body":"Lets document this and get it out of experimental. We really shouldn't let features be experimental for too long.","created_at":"2016-03-23T05:23:45Z","updated_at":"2016-03-23T22:38:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8f442c796d6ebc4ddb061ebbe4980475e6af63d1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144/commits","review_comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144/comments","review_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1144/comments","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/8c3939415fca6a23d3e83ef679f518ec2a3df68f","head":{"label":"drew-gross:document-email-adapter","ref":"document-email-adapter","sha":"8c3939415fca6a23d3e83ef679f518ec2a3df68f","user":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"repo":{"id":51231720,"name":"parse-server","full_name":"drew-gross/parse-server","owner":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drew-gross/parse-server","description":"Parse-compatible API server module for Node/Express","fork":true,"url":"https://api.github.com/repos/drew-gross/parse-server","forks_url":"https://api.github.com/repos/drew-gross/parse-server/forks","keys_url":"https://api.github.com/repos/drew-gross/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drew-gross/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drew-gross/parse-server/teams","hooks_url":"https://api.github.com/repos/drew-gross/parse-server/hooks","issue_events_url":"https://api.github.com/repos/drew-gross/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/drew-gross/parse-server/events","assignees_url":"https://api.github.com/repos/drew-gross/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/drew-gross/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/drew-gross/parse-server/tags","blobs_url":"https://api.github.com/repos/drew-gross/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drew-gross/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drew-gross/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/drew-gross/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drew-gross/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/drew-gross/parse-server/languages","stargazers_url":"https://api.github.com/repos/drew-gross/parse-server/stargazers","contributors_url":"https://api.github.com/repos/drew-gross/parse-server/contributors","subscribers_url":"https://api.github.com/repos/drew-gross/parse-server/subscribers","subscription_url":"https://api.github.com/repos/drew-gross/parse-server/subscription","commits_url":"https://api.github.com/repos/drew-gross/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/drew-gross/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/drew-gross/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/drew-gross/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/drew-gross/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/drew-gross/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drew-gross/parse-server/merges","archive_url":"https://api.github.com/repos/drew-gross/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drew-gross/parse-server/downloads","issues_url":"https://api.github.com/repos/drew-gross/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/drew-gross/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/drew-gross/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/drew-gross/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drew-gross/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/drew-gross/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/drew-gross/parse-server/deployments","created_at":"2016-02-07T01:58:26Z","updated_at":"2016-02-07T01:58:27Z","pushed_at":"2016-03-23T20:15:29Z","git_url":"git://github.com/drew-gross/parse-server.git","ssh_url":"git@github.com:drew-gross/parse-server.git","clone_url":"https://github.com/drew-gross/parse-server.git","svn_url":"https://github.com/drew-gross/parse-server","homepage":null,"size":1316,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ParsePlatform:master","ref":"master","sha":"0e662190b39539562fd44c772bdb0abd62c2d58c","user":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"name":"parse-server","full_name":"ParsePlatform/parse-server","owner":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParsePlatform/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/ParsePlatform/parse-server","forks_url":"https://api.github.com/repos/ParsePlatform/parse-server/forks","keys_url":"https://api.github.com/repos/ParsePlatform/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParsePlatform/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParsePlatform/parse-server/teams","hooks_url":"https://api.github.com/repos/ParsePlatform/parse-server/hooks","issue_events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/events","assignees_url":"https://api.github.com/repos/ParsePlatform/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/ParsePlatform/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/tags","blobs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ParsePlatform/parse-server/languages","stargazers_url":"https://api.github.com/repos/ParsePlatform/parse-server/stargazers","contributors_url":"https://api.github.com/repos/ParsePlatform/parse-server/contributors","subscribers_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscribers","subscription_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscription","commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ParsePlatform/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/ParsePlatform/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParsePlatform/parse-server/merges","archive_url":"https://api.github.com/repos/ParsePlatform/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParsePlatform/parse-server/downloads","issues_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ParsePlatform/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ParsePlatform/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/ParsePlatform/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/ParsePlatform/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2016-03-23T22:37:53Z","pushed_at":"2016-03-23T20:15:29Z","git_url":"git://github.com/ParsePlatform/parse-server.git","ssh_url":"git@github.com:ParsePlatform/parse-server.git","clone_url":"https://github.com/ParsePlatform/parse-server.git","svn_url":"https://github.com/ParsePlatform/parse-server","homepage":null,"size":2717,"stargazers_count":7587,"watchers_count":7587,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1775,"mirror_url":null,"open_issues_count":89,"forks":1775,"open_issues":89,"watchers":7587,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144"},"html":{"href":"https://github.com/ParsePlatform/parse-server/pull/1144"},"issue":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1144"},"comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/1144/comments"},"review_comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144/comments"},"review_comment":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/1144/commits"},"statuses":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/8c3939415fca6a23d3e83ef679f518ec2a3df68f"}}}}