{"action":"created","comment":{"url":"https://api.github.com/repos/signpost/MailDev/pulls/comments/31233199","id":31233199,"diff_hunk":"@@ -204,8 +210,24 @@ mailServer.listen = function(port){\n   smtp.on('startData', newStream);\n   smtp.on('data',      writeChunk);\n   smtp.on('dataReady', endStream);\n+\n+  setInterval(function(){\n+    mailserver.removeOldEmails(24)","path":"lib/mailserver.js","position":36,"original_position":36,"commit_id":"c8384dbb2a723e7e8d8c2445cb48ea5410111b50","original_commit_id":"c8384dbb2a723e7e8d8c2445cb48ea5410111b50","user":{"login":"mattlevin","id":6287459,"avatar_url":"https://avatars.githubusercontent.com/u/6287459?v=3","gravatar_id":"","url":"https://api.github.com/users/mattlevin","html_url":"https://github.com/mattlevin","followers_url":"https://api.github.com/users/mattlevin/followers","following_url":"https://api.github.com/users/mattlevin/following{/other_user}","gists_url":"https://api.github.com/users/mattlevin/gists{/gist_id}","starred_url":"https://api.github.com/users/mattlevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattlevin/subscriptions","organizations_url":"https://api.github.com/users/mattlevin/orgs","repos_url":"https://api.github.com/users/mattlevin/repos","events_url":"https://api.github.com/users/mattlevin/events{/privacy}","received_events_url":"https://api.github.com/users/mattlevin/received_events","type":"User","site_admin":false},"body":"Make this period a config item","created_at":"2015-05-28T13:38:19Z","updated_at":"2015-05-28T13:38:19Z","html_url":"https://github.com/signpost/MailDev/pull/6#discussion_r31233199","pull_request_url":"https://api.github.com/repos/signpost/MailDev/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/comments/31233199"},"html":{"href":"https://github.com/signpost/MailDev/pull/6#discussion_r31233199"},"pull_request":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/signpost/MailDev/pulls/6","id":36354979,"html_url":"https://github.com/signpost/MailDev/pull/6","diff_url":"https://github.com/signpost/MailDev/pull/6.diff","patch_url":"https://github.com/signpost/MailDev/pull/6.patch","issue_url":"https://api.github.com/repos/signpost/MailDev/issues/6","number":6,"state":"open","locked":false,"title":"maildev improvements so far","user":{"login":"melyanow","id":4967558,"avatar_url":"https://avatars.githubusercontent.com/u/4967558?v=3","gravatar_id":"","url":"https://api.github.com/users/melyanow","html_url":"https://github.com/melyanow","followers_url":"https://api.github.com/users/melyanow/followers","following_url":"https://api.github.com/users/melyanow/following{/other_user}","gists_url":"https://api.github.com/users/melyanow/gists{/gist_id}","starred_url":"https://api.github.com/users/melyanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melyanow/subscriptions","organizations_url":"https://api.github.com/users/melyanow/orgs","repos_url":"https://api.github.com/users/melyanow/repos","events_url":"https://api.github.com/users/melyanow/events{/privacy}","received_events_url":"https://api.github.com/users/melyanow/received_events","type":"User","site_admin":false},"body":"remove emails from back-end over 1 day old, support multiple esp,strip off unnecessary data from sidebar","created_at":"2015-05-27T22:20:28Z","updated_at":"2015-05-28T13:38:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a890676532583ef8486b6fbd565397e5bfc3634c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/signpost/MailDev/pulls/6/commits","review_comments_url":"https://api.github.com/repos/signpost/MailDev/pulls/6/comments","review_comment_url":"https://api.github.com/repos/signpost/MailDev/pulls/comments{/number}","comments_url":"https://api.github.com/repos/signpost/MailDev/issues/6/comments","statuses_url":"https://api.github.com/repos/signpost/MailDev/statuses/c8384dbb2a723e7e8d8c2445cb48ea5410111b50","head":{"label":"melyanow:master","ref":"master","sha":"c8384dbb2a723e7e8d8c2445cb48ea5410111b50","user":{"login":"melyanow","id":4967558,"avatar_url":"https://avatars.githubusercontent.com/u/4967558?v=3","gravatar_id":"","url":"https://api.github.com/users/melyanow","html_url":"https://github.com/melyanow","followers_url":"https://api.github.com/users/melyanow/followers","following_url":"https://api.github.com/users/melyanow/following{/other_user}","gists_url":"https://api.github.com/users/melyanow/gists{/gist_id}","starred_url":"https://api.github.com/users/melyanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melyanow/subscriptions","organizations_url":"https://api.github.com/users/melyanow/orgs","repos_url":"https://api.github.com/users/melyanow/repos","events_url":"https://api.github.com/users/melyanow/events{/privacy}","received_events_url":"https://api.github.com/users/melyanow/received_events","type":"User","site_admin":false},"repo":{"id":36018864,"name":"MailDev","full_name":"melyanow/MailDev","owner":{"login":"melyanow","id":4967558,"avatar_url":"https://avatars.githubusercontent.com/u/4967558?v=3","gravatar_id":"","url":"https://api.github.com/users/melyanow","html_url":"https://github.com/melyanow","followers_url":"https://api.github.com/users/melyanow/followers","following_url":"https://api.github.com/users/melyanow/following{/other_user}","gists_url":"https://api.github.com/users/melyanow/gists{/gist_id}","starred_url":"https://api.github.com/users/melyanow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melyanow/subscriptions","organizations_url":"https://api.github.com/users/melyanow/orgs","repos_url":"https://api.github.com/users/melyanow/repos","events_url":"https://api.github.com/users/melyanow/events{/privacy}","received_events_url":"https://api.github.com/users/melyanow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/melyanow/MailDev","description":"SMTP Server + Web Interface for viewing and testing emails during development.","fork":true,"url":"https://api.github.com/repos/melyanow/MailDev","forks_url":"https://api.github.com/repos/melyanow/MailDev/forks","keys_url":"https://api.github.com/repos/melyanow/MailDev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/melyanow/MailDev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/melyanow/MailDev/teams","hooks_url":"https://api.github.com/repos/melyanow/MailDev/hooks","issue_events_url":"https://api.github.com/repos/melyanow/MailDev/issues/events{/number}","events_url":"https://api.github.com/repos/melyanow/MailDev/events","assignees_url":"https://api.github.com/repos/melyanow/MailDev/assignees{/user}","branches_url":"https://api.github.com/repos/melyanow/MailDev/branches{/branch}","tags_url":"https://api.github.com/repos/melyanow/MailDev/tags","blobs_url":"https://api.github.com/repos/melyanow/MailDev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/melyanow/MailDev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/melyanow/MailDev/git/refs{/sha}","trees_url":"https://api.github.com/repos/melyanow/MailDev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/melyanow/MailDev/statuses/{sha}","languages_url":"https://api.github.com/repos/melyanow/MailDev/languages","stargazers_url":"https://api.github.com/repos/melyanow/MailDev/stargazers","contributors_url":"https://api.github.com/repos/melyanow/MailDev/contributors","subscribers_url":"https://api.github.com/repos/melyanow/MailDev/subscribers","subscription_url":"https://api.github.com/repos/melyanow/MailDev/subscription","commits_url":"https://api.github.com/repos/melyanow/MailDev/commits{/sha}","git_commits_url":"https://api.github.com/repos/melyanow/MailDev/git/commits{/sha}","comments_url":"https://api.github.com/repos/melyanow/MailDev/comments{/number}","issue_comment_url":"https://api.github.com/repos/melyanow/MailDev/issues/comments{/number}","contents_url":"https://api.github.com/repos/melyanow/MailDev/contents/{+path}","compare_url":"https://api.github.com/repos/melyanow/MailDev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/melyanow/MailDev/merges","archive_url":"https://api.github.com/repos/melyanow/MailDev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/melyanow/MailDev/downloads","issues_url":"https://api.github.com/repos/melyanow/MailDev/issues{/number}","pulls_url":"https://api.github.com/repos/melyanow/MailDev/pulls{/number}","milestones_url":"https://api.github.com/repos/melyanow/MailDev/milestones{/number}","notifications_url":"https://api.github.com/repos/melyanow/MailDev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/melyanow/MailDev/labels{/name}","releases_url":"https://api.github.com/repos/melyanow/MailDev/releases{/id}","created_at":"2015-05-21T14:52:19Z","updated_at":"2015-05-21T14:52:19Z","pushed_at":"2015-05-27T22:26:14Z","git_url":"git://github.com/melyanow/MailDev.git","ssh_url":"git@github.com:melyanow/MailDev.git","clone_url":"https://github.com/melyanow/MailDev.git","svn_url":"https://github.com/melyanow/MailDev","homepage":"http://djfarrelly.github.io/MailDev/","size":6629,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"signpost:MattE-Impro","ref":"MattE-Impro","sha":"68c36acc2fcb7e04918dd80bf43198f9609b567c","user":{"login":"signpost","id":296903,"avatar_url":"https://avatars.githubusercontent.com/u/296903?v=3","gravatar_id":"","url":"https://api.github.com/users/signpost","html_url":"https://github.com/signpost","followers_url":"https://api.github.com/users/signpost/followers","following_url":"https://api.github.com/users/signpost/following{/other_user}","gists_url":"https://api.github.com/users/signpost/gists{/gist_id}","starred_url":"https://api.github.com/users/signpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signpost/subscriptions","organizations_url":"https://api.github.com/users/signpost/orgs","repos_url":"https://api.github.com/users/signpost/repos","events_url":"https://api.github.com/users/signpost/events{/privacy}","received_events_url":"https://api.github.com/users/signpost/received_events","type":"Organization","site_admin":false},"repo":{"id":31790350,"name":"MailDev","full_name":"signpost/MailDev","owner":{"login":"signpost","id":296903,"avatar_url":"https://avatars.githubusercontent.com/u/296903?v=3","gravatar_id":"","url":"https://api.github.com/users/signpost","html_url":"https://github.com/signpost","followers_url":"https://api.github.com/users/signpost/followers","following_url":"https://api.github.com/users/signpost/following{/other_user}","gists_url":"https://api.github.com/users/signpost/gists{/gist_id}","starred_url":"https://api.github.com/users/signpost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/signpost/subscriptions","organizations_url":"https://api.github.com/users/signpost/orgs","repos_url":"https://api.github.com/users/signpost/repos","events_url":"https://api.github.com/users/signpost/events{/privacy}","received_events_url":"https://api.github.com/users/signpost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/signpost/MailDev","description":"SMTP Server + Web Interface for viewing and testing emails during development.","fork":true,"url":"https://api.github.com/repos/signpost/MailDev","forks_url":"https://api.github.com/repos/signpost/MailDev/forks","keys_url":"https://api.github.com/repos/signpost/MailDev/keys{/key_id}","collaborators_url":"https://api.github.com/repos/signpost/MailDev/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/signpost/MailDev/teams","hooks_url":"https://api.github.com/repos/signpost/MailDev/hooks","issue_events_url":"https://api.github.com/repos/signpost/MailDev/issues/events{/number}","events_url":"https://api.github.com/repos/signpost/MailDev/events","assignees_url":"https://api.github.com/repos/signpost/MailDev/assignees{/user}","branches_url":"https://api.github.com/repos/signpost/MailDev/branches{/branch}","tags_url":"https://api.github.com/repos/signpost/MailDev/tags","blobs_url":"https://api.github.com/repos/signpost/MailDev/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/signpost/MailDev/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/signpost/MailDev/git/refs{/sha}","trees_url":"https://api.github.com/repos/signpost/MailDev/git/trees{/sha}","statuses_url":"https://api.github.com/repos/signpost/MailDev/statuses/{sha}","languages_url":"https://api.github.com/repos/signpost/MailDev/languages","stargazers_url":"https://api.github.com/repos/signpost/MailDev/stargazers","contributors_url":"https://api.github.com/repos/signpost/MailDev/contributors","subscribers_url":"https://api.github.com/repos/signpost/MailDev/subscribers","subscription_url":"https://api.github.com/repos/signpost/MailDev/subscription","commits_url":"https://api.github.com/repos/signpost/MailDev/commits{/sha}","git_commits_url":"https://api.github.com/repos/signpost/MailDev/git/commits{/sha}","comments_url":"https://api.github.com/repos/signpost/MailDev/comments{/number}","issue_comment_url":"https://api.github.com/repos/signpost/MailDev/issues/comments{/number}","contents_url":"https://api.github.com/repos/signpost/MailDev/contents/{+path}","compare_url":"https://api.github.com/repos/signpost/MailDev/compare/{base}...{head}","merges_url":"https://api.github.com/repos/signpost/MailDev/merges","archive_url":"https://api.github.com/repos/signpost/MailDev/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/signpost/MailDev/downloads","issues_url":"https://api.github.com/repos/signpost/MailDev/issues{/number}","pulls_url":"https://api.github.com/repos/signpost/MailDev/pulls{/number}","milestones_url":"https://api.github.com/repos/signpost/MailDev/milestones{/number}","notifications_url":"https://api.github.com/repos/signpost/MailDev/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/signpost/MailDev/labels{/name}","releases_url":"https://api.github.com/repos/signpost/MailDev/releases{/id}","created_at":"2015-03-06T21:43:38Z","updated_at":"2015-05-06T19:09:25Z","pushed_at":"2015-05-27T22:26:14Z","git_url":"git://github.com/signpost/MailDev.git","ssh_url":"git@github.com:signpost/MailDev.git","clone_url":"https://github.com/signpost/MailDev.git","svn_url":"https://github.com/signpost/MailDev","homepage":"http://djfarrelly.github.io/MailDev/","size":6629,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/6"},"html":{"href":"https://github.com/signpost/MailDev/pull/6"},"issue":{"href":"https://api.github.com/repos/signpost/MailDev/issues/6"},"comments":{"href":"https://api.github.com/repos/signpost/MailDev/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/signpost/MailDev/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/signpost/MailDev/statuses/c8384dbb2a723e7e8d8c2445cb48ea5410111b50"}}}}