{"action":"closed","number":119,"pull_request":{"url":"https://api.github.com/repos/andela/travel_tool_back/pulls/119","id":223036220,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzMDM2MjIw","html_url":"https://github.com/andela/travel_tool_back/pull/119","diff_url":"https://github.com/andela/travel_tool_back/pull/119.diff","patch_url":"https://github.com/andela/travel_tool_back/pull/119.patch","issue_url":"https://api.github.com/repos/andela/travel_tool_back/issues/119","number":119,"state":"closed","locked":false,"title":"#161050094 Reply Comment from Email","user":{"login":"albert85","id":28366272,"node_id":"MDQ6VXNlcjI4MzY2Mjcy","avatar_url":"https://avatars1.githubusercontent.com/u/28366272?v=4","gravatar_id":"","url":"https://api.github.com/users/albert85","html_url":"https://github.com/albert85","followers_url":"https://api.github.com/users/albert85/followers","following_url":"https://api.github.com/users/albert85/following{/other_user}","gists_url":"https://api.github.com/users/albert85/gists{/gist_id}","starred_url":"https://api.github.com/users/albert85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/albert85/subscriptions","organizations_url":"https://api.github.com/users/albert85/orgs","repos_url":"https://api.github.com/users/albert85/repos","events_url":"https://api.github.com/users/albert85/events{/privacy}","received_events_url":"https://api.github.com/users/albert85/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\ncreate comment from user's email\r\n\r\n#### Description of Task to be completed?\r\n- Change sengrid to mailgun for email notification\r\n- Modify new request email notification\r\n- Modify approval email notification\r\n- Modify comment email notification\r\n\r\n#### How should this be manually tested?\r\n- Clone the repo - `git clone https://github.com/andela/travel_tool_back.git`\r\n- Change into the project directory\r\n- Run the server `make start`\r\n- Run the front-end of this application `https://github.com/andela/travel_tool_front`\r\n- Login into the application\r\n- Create a new request or click on an existing request and make a comment.\r\n- You should receive an email notification.\r\n\r\n#### Any background context you want to provide?\r\n- Please check the .env.example to set all the necessary environmental variables\r\n- To test replied comment through an email functionality might not work because it needs a public API link which will be available in staging.\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n[#160954803](https://www.pivotaltracker.com/story/show/160954803)\r\n\r\n#### Screenshots (if appropriate)\r\n<img width=\"634\" alt=\"screen shot 2018-10-15 at 9 38 29 pm\" src=\"https://user-images.githubusercontent.com/28366272/46976954-bb55df00-d0c2-11e8-953e-c66991456ac1.png\">\r\n\r\n#### Questions:\r\nN/A\r\n","created_at":"2018-10-15T20:40:46Z","updated_at":"2018-10-18T19:02:49Z","closed_at":"2018-10-18T19:02:48Z","merged_at":"2018-10-18T19:02:48Z","merge_commit_sha":"ec1c064ec0aee3ec51c89e4dc114df638151bfa2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dmaish","id":19623571,"node_id":"MDQ6VXNlcjE5NjIzNTcx","avatar_url":"https://avatars3.githubusercontent.com/u/19623571?v=4","gravatar_id":"","url":"https://api.github.com/users/dmaish","html_url":"https://github.com/dmaish","followers_url":"https://api.github.com/users/dmaish/followers","following_url":"https://api.github.com/users/dmaish/following{/other_user}","gists_url":"https://api.github.com/users/dmaish/gists{/gist_id}","starred_url":"https://api.github.com/users/dmaish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmaish/subscriptions","organizations_url":"https://api.github.com/users/dmaish/orgs","repos_url":"https://api.github.com/users/dmaish/repos","events_url":"https://api.github.com/users/dmaish/events{/privacy}","received_events_url":"https://api.github.com/users/dmaish/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1040218572,"node_id":"MDU6TGFiZWwxMDQwMjE4NTcy","url":"https://api.github.com/repos/andela/travel_tool_back/labels/ready","name":"ready","color":"9af4ed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/andela/travel_tool_back/pulls/119/commits","review_comments_url":"https://api.github.com/repos/andela/travel_tool_back/pulls/119/comments","review_comment_url":"https://api.github.com/repos/andela/travel_tool_back/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/travel_tool_back/issues/119/comments","statuses_url":"https://api.github.com/repos/andela/travel_tool_back/statuses/539c9b7c5f673123447010453c5547380f638117","head":{"label":"andela:ft-reply-email-notification-160954803","ref":"ft-reply-email-notification-160954803","sha":"539c9b7c5f673123447010453c5547380f638117","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":141128323,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMjgzMjM=","name":"travel_tool_back","full_name":"andela/travel_tool_back","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/travel_tool_back","description":"Andela travel tool API.","fork":false,"url":"https://api.github.com/repos/andela/travel_tool_back","forks_url":"https://api.github.com/repos/andela/travel_tool_back/forks","keys_url":"https://api.github.com/repos/andela/travel_tool_back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/travel_tool_back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/travel_tool_back/teams","hooks_url":"https://api.github.com/repos/andela/travel_tool_back/hooks","issue_events_url":"https://api.github.com/repos/andela/travel_tool_back/issues/events{/number}","events_url":"https://api.github.com/repos/andela/travel_tool_back/events","assignees_url":"https://api.github.com/repos/andela/travel_tool_back/assignees{/user}","branches_url":"https://api.github.com/repos/andela/travel_tool_back/branches{/branch}","tags_url":"https://api.github.com/repos/andela/travel_tool_back/tags","blobs_url":"https://api.github.com/repos/andela/travel_tool_back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/travel_tool_back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/travel_tool_back/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/travel_tool_back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/travel_tool_back/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/travel_tool_back/languages","stargazers_url":"https://api.github.com/repos/andela/travel_tool_back/stargazers","contributors_url":"https://api.github.com/repos/andela/travel_tool_back/contributors","subscribers_url":"https://api.github.com/repos/andela/travel_tool_back/subscribers","subscription_url":"https://api.github.com/repos/andela/travel_tool_back/subscription","commits_url":"https://api.github.com/repos/andela/travel_tool_back/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/travel_tool_back/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/travel_tool_back/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/travel_tool_back/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/travel_tool_back/contents/{+path}","compare_url":"https://api.github.com/repos/andela/travel_tool_back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/travel_tool_back/merges","archive_url":"https://api.github.com/repos/andela/travel_tool_back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/travel_tool_back/downloads","issues_url":"https://api.github.com/repos/andela/travel_tool_back/issues{/number}","pulls_url":"https://api.github.com/repos/andela/travel_tool_back/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/travel_tool_back/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/travel_tool_back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/travel_tool_back/labels{/name}","releases_url":"https://api.github.com/repos/andela/travel_tool_back/releases{/id}","deployments_url":"https://api.github.com/repos/andela/travel_tool_back/deployments","created_at":"2018-07-16T11:15:30Z","updated_at":"2018-10-18T14:01:40Z","pushed_at":"2018-10-18T19:02:49Z","git_url":"git://github.com/andela/travel_tool_back.git","ssh_url":"git@github.com:andela/travel_tool_back.git","clone_url":"https://github.com/andela/travel_tool_back.git","svn_url":"https://github.com/andela/travel_tool_back","homepage":"","size":20171,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":14,"watchers":0,"default_branch":"develop"}},"base":{"label":"andela:develop","ref":"develop","sha":"3acce272515c44116555e76b0c5d72d078877a51","user":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":141128323,"node_id":"MDEwOlJlcG9zaXRvcnkxNDExMjgzMjM=","name":"travel_tool_back","full_name":"andela/travel_tool_back","private":false,"owner":{"login":"andela","id":4100206,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQxMDAyMDY=","avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/andela/travel_tool_back","description":"Andela travel tool API.","fork":false,"url":"https://api.github.com/repos/andela/travel_tool_back","forks_url":"https://api.github.com/repos/andela/travel_tool_back/forks","keys_url":"https://api.github.com/repos/andela/travel_tool_back/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/travel_tool_back/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/travel_tool_back/teams","hooks_url":"https://api.github.com/repos/andela/travel_tool_back/hooks","issue_events_url":"https://api.github.com/repos/andela/travel_tool_back/issues/events{/number}","events_url":"https://api.github.com/repos/andela/travel_tool_back/events","assignees_url":"https://api.github.com/repos/andela/travel_tool_back/assignees{/user}","branches_url":"https://api.github.com/repos/andela/travel_tool_back/branches{/branch}","tags_url":"https://api.github.com/repos/andela/travel_tool_back/tags","blobs_url":"https://api.github.com/repos/andela/travel_tool_back/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/travel_tool_back/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/travel_tool_back/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/travel_tool_back/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/travel_tool_back/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/travel_tool_back/languages","stargazers_url":"https://api.github.com/repos/andela/travel_tool_back/stargazers","contributors_url":"https://api.github.com/repos/andela/travel_tool_back/contributors","subscribers_url":"https://api.github.com/repos/andela/travel_tool_back/subscribers","subscription_url":"https://api.github.com/repos/andela/travel_tool_back/subscription","commits_url":"https://api.github.com/repos/andela/travel_tool_back/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/travel_tool_back/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/travel_tool_back/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/travel_tool_back/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/travel_tool_back/contents/{+path}","compare_url":"https://api.github.com/repos/andela/travel_tool_back/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/travel_tool_back/merges","archive_url":"https://api.github.com/repos/andela/travel_tool_back/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/travel_tool_back/downloads","issues_url":"https://api.github.com/repos/andela/travel_tool_back/issues{/number}","pulls_url":"https://api.github.com/repos/andela/travel_tool_back/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/travel_tool_back/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/travel_tool_back/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/travel_tool_back/labels{/name}","releases_url":"https://api.github.com/repos/andela/travel_tool_back/releases{/id}","deployments_url":"https://api.github.com/repos/andela/travel_tool_back/deployments","created_at":"2018-07-16T11:15:30Z","updated_at":"2018-10-18T14:01:40Z","pushed_at":"2018-10-18T19:02:49Z","git_url":"git://github.com/andela/travel_tool_back.git","ssh_url":"git@github.com:andela/travel_tool_back.git","clone_url":"https://github.com/andela/travel_tool_back.git","svn_url":"https://github.com/andela/travel_tool_back","homepage":"","size":20171,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":14,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/travel_tool_back/pulls/119"},"html":{"href":"https://github.com/andela/travel_tool_back/pull/119"},"issue":{"href":"https://api.github.com/repos/andela/travel_tool_back/issues/119"},"comments":{"href":"https://api.github.com/repos/andela/travel_tool_back/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/travel_tool_back/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/travel_tool_back/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/travel_tool_back/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/andela/travel_tool_back/statuses/539c9b7c5f673123447010453c5547380f638117"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"samuelkubai","id":10863328,"node_id":"MDQ6VXNlcjEwODYzMzI4","avatar_url":"https://avatars1.githubusercontent.com/u/10863328?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelkubai","html_url":"https://github.com/samuelkubai","followers_url":"https://api.github.com/users/samuelkubai/followers","following_url":"https://api.github.com/users/samuelkubai/following{/other_user}","gists_url":"https://api.github.com/users/samuelkubai/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelkubai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelkubai/subscriptions","organizations_url":"https://api.github.com/users/samuelkubai/orgs","repos_url":"https://api.github.com/users/samuelkubai/repos","events_url":"https://api.github.com/users/samuelkubai/events{/privacy}","received_events_url":"https://api.github.com/users/samuelkubai/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"maintainer_can_modify":false,"commits":1,"additions":697,"deletions":256,"changed_files":34}}
{"actor":{"display_login":"samuelkubai"}}