{"action":"created","issue":{"url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/7","repository_url":"https://api.github.com/repos/google/import-mailbox-to-gmail","labels_url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/7/comments","events_url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/7/events","html_url":"https://github.com/google/import-mailbox-to-gmail/issues/7","id":139869266,"number":7,"title":"Error encoding mail","user":{"login":"Settler6079SW","id":10389017,"avatar_url":"https://avatars.githubusercontent.com/u/10389017?v=3","gravatar_id":"","url":"https://api.github.com/users/Settler6079SW","html_url":"https://github.com/Settler6079SW","followers_url":"https://api.github.com/users/Settler6079SW/followers","following_url":"https://api.github.com/users/Settler6079SW/following{/other_user}","gists_url":"https://api.github.com/users/Settler6079SW/gists{/gist_id}","starred_url":"https://api.github.com/users/Settler6079SW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Settler6079SW/subscriptions","organizations_url":"https://api.github.com/users/Settler6079SW/orgs","repos_url":"https://api.github.com/users/Settler6079SW/repos","events_url":"https://api.github.com/users/Settler6079SW/events{/privacy}","received_events_url":"https://api.github.com/users/Settler6079SW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eesheesh","id":11871180,"avatar_url":"https://avatars.githubusercontent.com/u/11871180?v=3","gravatar_id":"","url":"https://api.github.com/users/eesheesh","html_url":"https://github.com/eesheesh","followers_url":"https://api.github.com/users/eesheesh/followers","following_url":"https://api.github.com/users/eesheesh/following{/other_user}","gists_url":"https://api.github.com/users/eesheesh/gists{/gist_id}","starred_url":"https://api.github.com/users/eesheesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eesheesh/subscriptions","organizations_url":"https://api.github.com/users/eesheesh/orgs","repos_url":"https://api.github.com/users/eesheesh/repos","events_url":"https://api.github.com/users/eesheesh/events{/privacy}","received_events_url":"https://api.github.com/users/eesheesh/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-03-10T12:10:20Z","updated_at":"2016-03-11T21:09:54Z","closed_at":null,"body":"Hello,\r\n\r\n(Sorry for my bad english)\r\nFor some e-mail, i've an UnicodeDecodeError, it seems the e-mail is already in UTF-8.\r\n\r\n```\r\n13:07:01 INFO process_mbox_files@import-mailbox-to-gmail.py Processing message 17 in label 'dlabbe-import'\r\n13:07:01 ERROR process_mbox_files@import-mailbox-to-gmail.py Failed to import mbox message\r\nTraceback (most recent call last):\r\n  File \"import-mailbox-to-gmail.py\", line 213, in process_mbox_files\r\n    message_data = io.BytesIO(message.as_string().encode('utf-8'))\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2147: ordinal not in range(128)\r\n```"},"comment":{"url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/comments/195553296","html_url":"https://github.com/google/import-mailbox-to-gmail/issues/7#issuecomment-195553296","issue_url":"https://api.github.com/repos/google/import-mailbox-to-gmail/issues/7","id":195553296,"user":{"login":"eesheesh","id":11871180,"avatar_url":"https://avatars.githubusercontent.com/u/11871180?v=3","gravatar_id":"","url":"https://api.github.com/users/eesheesh","html_url":"https://github.com/eesheesh","followers_url":"https://api.github.com/users/eesheesh/followers","following_url":"https://api.github.com/users/eesheesh/following{/other_user}","gists_url":"https://api.github.com/users/eesheesh/gists{/gist_id}","starred_url":"https://api.github.com/users/eesheesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eesheesh/subscriptions","organizations_url":"https://api.github.com/users/eesheesh/orgs","repos_url":"https://api.github.com/users/eesheesh/repos","events_url":"https://api.github.com/users/eesheesh/events{/privacy}","received_events_url":"https://api.github.com/users/eesheesh/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T21:09:53Z","updated_at":"2016-03-11T21:09:53Z","body":"With regards to the encoding issue: I think I managed to fix it, I'll upload a new release shortly.\r\n\r\nWith regards to the `cannot import name SignedJwtAssertionCredentials` error - the new release will fix it.\r\n\r\nThanks for reporting!"}}