{"action":"created","issue":{"url":"https://api.github.com/repos/mnapoli/imapi/issues/2","repository_url":"https://api.github.com/repos/mnapoli/imapi","labels_url":"https://api.github.com/repos/mnapoli/imapi/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mnapoli/imapi/issues/2/comments","events_url":"https://api.github.com/repos/mnapoli/imapi/issues/2/events","html_url":"https://github.com/mnapoli/imapi/issues/2","id":171380091,"number":2,"title":"Argument 1 passed to Imapi\\EmailAddress::__construct() must be of the type string, null given,","user":{"login":"kadnan","id":273196,"avatar_url":"https://avatars.githubusercontent.com/u/273196?v=3","gravatar_id":"","url":"https://api.github.com/users/kadnan","html_url":"https://github.com/kadnan","followers_url":"https://api.github.com/users/kadnan/followers","following_url":"https://api.github.com/users/kadnan/following{/other_user}","gists_url":"https://api.github.com/users/kadnan/gists{/gist_id}","starred_url":"https://api.github.com/users/kadnan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadnan/subscriptions","organizations_url":"https://api.github.com/users/kadnan/orgs","repos_url":"https://api.github.com/users/kadnan/repos","events_url":"https://api.github.com/users/kadnan/events{/privacy}","received_events_url":"https://api.github.com/users/kadnan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-16T10:54:43Z","updated_at":"2016-09-03T12:08:26Z","closed_at":"2016-09-03T09:13:01Z","body":"I am getting error on this:\r\n\r\n```\r\n$emails = $this->client->getEmails(new Imapi\\Query\\Query('SENT'));\r\n```\r\n\r\nIn `/imapi/src/EmailAddress.php` it points out to:\r\n\r\n```\r\n  public function __construct(string $email, string $name = null)\r\n    {\r\n        $this->email = $email;\r\n        $this->name = $name;\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/mnapoli/imapi/issues/comments/244542854","html_url":"https://github.com/mnapoli/imapi/issues/2#issuecomment-244542854","issue_url":"https://api.github.com/repos/mnapoli/imapi/issues/2","id":244542854,"user":{"login":"mstaack","id":10169509,"avatar_url":"https://avatars.githubusercontent.com/u/10169509?v=3","gravatar_id":"","url":"https://api.github.com/users/mstaack","html_url":"https://github.com/mstaack","followers_url":"https://api.github.com/users/mstaack/followers","following_url":"https://api.github.com/users/mstaack/following{/other_user}","gists_url":"https://api.github.com/users/mstaack/gists{/gist_id}","starred_url":"https://api.github.com/users/mstaack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstaack/subscriptions","organizations_url":"https://api.github.com/users/mstaack/orgs","repos_url":"https://api.github.com/users/mstaack/repos","events_url":"https://api.github.com/users/mstaack/events{/privacy}","received_events_url":"https://api.github.com/users/mstaack/received_events","type":"User","site_admin":false},"created_at":"2016-09-03T12:08:26Z","updated_at":"2016-09-03T12:08:26Z","body":"@mnapoli working fine now!"}}
{"actor":{"display_login":"mstaack"}}