{"action":"closed","issue":{"url":"https://api.github.com/repos/django-helpdesk/django-helpdesk/issues/622","repository_url":"https://api.github.com/repos/django-helpdesk/django-helpdesk","labels_url":"https://api.github.com/repos/django-helpdesk/django-helpdesk/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/django-helpdesk/django-helpdesk/issues/622/comments","events_url":"https://api.github.com/repos/django-helpdesk/django-helpdesk/issues/622/events","html_url":"https://github.com/django-helpdesk/django-helpdesk/issues/622","id":332877322,"node_id":"MDU6SXNzdWUzMzI4NzczMjI=","number":622,"title":"Getting a AttributeError: 'NoneType' object has no attribute 'email' while doing get_email.","user":{"login":"ddwaraka","id":12834479,"node_id":"MDQ6VXNlcjEyODM0NDc5","avatar_url":"https://avatars3.githubusercontent.com/u/12834479?v=4","gravatar_id":"","url":"https://api.github.com/users/ddwaraka","html_url":"https://github.com/ddwaraka","followers_url":"https://api.github.com/users/ddwaraka/followers","following_url":"https://api.github.com/users/ddwaraka/following{/other_user}","gists_url":"https://api.github.com/users/ddwaraka/gists{/gist_id}","starred_url":"https://api.github.com/users/ddwaraka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddwaraka/subscriptions","organizations_url":"https://api.github.com/users/ddwaraka/orgs","repos_url":"https://api.github.com/users/ddwaraka/repos","events_url":"https://api.github.com/users/ddwaraka/events{/privacy}","received_events_url":"https://api.github.com/users/ddwaraka/received_events","type":"User","site_admin":false},"labels":[{"id":73287,"node_id":"MDU6TGFiZWw3MzI4Nw==","url":"https://api.github.com/repos/django-helpdesk/django-helpdesk/labels/bug","name":"bug","color":"db7f7f","default":true}],"state":"closed","locked":false,"assignee":{"login":"gwasser","id":4760531,"node_id":"MDQ6VXNlcjQ3NjA1MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/4760531?v=4","gravatar_id":"","url":"https://api.github.com/users/gwasser","html_url":"https://github.com/gwasser","followers_url":"https://api.github.com/users/gwasser/followers","following_url":"https://api.github.com/users/gwasser/following{/other_user}","gists_url":"https://api.github.com/users/gwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/gwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwasser/subscriptions","organizations_url":"https://api.github.com/users/gwasser/orgs","repos_url":"https://api.github.com/users/gwasser/repos","events_url":"https://api.github.com/users/gwasser/events{/privacy}","received_events_url":"https://api.github.com/users/gwasser/received_events","type":"User","site_admin":false},"assignees":[{"login":"gwasser","id":4760531,"node_id":"MDQ6VXNlcjQ3NjA1MzE=","avatar_url":"https://avatars3.githubusercontent.com/u/4760531?v=4","gravatar_id":"","url":"https://api.github.com/users/gwasser","html_url":"https://github.com/gwasser","followers_url":"https://api.github.com/users/gwasser/followers","following_url":"https://api.github.com/users/gwasser/following{/other_user}","gists_url":"https://api.github.com/users/gwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/gwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gwasser/subscriptions","organizations_url":"https://api.github.com/users/gwasser/orgs","repos_url":"https://api.github.com/users/gwasser/repos","events_url":"https://api.github.com/users/gwasser/events{/privacy}","received_events_url":"https://api.github.com/users/gwasser/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-06-15T18:42:35Z","updated_at":"2018-09-03T23:03:22Z","closed_at":"2018-09-03T23:03:22Z","author_association":"NONE","body":"I have a cron job scheduled to do the get_email task to pull from the tickets inbox every 5 mins. That task recently failed to fetch tickets for a particular queue. When I manually ran the command, I got this error:\r\n\r\n```\r\n  File \"helpdesk/management/commands/get_email.py\", line 388, in ticket_from_message\r\n    current_cc_users = [x.user.email for x in current_cc]\r\nAttributeError: 'NoneType' object has no attribute 'email'\r\n```\r\n\r\nI printed out some of the values there and:\r\n`current_cc_users = [u'<someone@gmail.com>']`\r\n`current_cc = [<TicketCC: <someone@gmail.com> for Update on Order 12345678>]`\r\n\r\nAm I doing something wrong or is this a bug? "}}
{"actor":{"display_login":"gwasser"}}