{"action":"created","issue":{"url":"https://api.github.com/repos/rodcorsi/mattermail/issues/62","repository_url":"https://api.github.com/repos/rodcorsi/mattermail","labels_url":"https://api.github.com/repos/rodcorsi/mattermail/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/rodcorsi/mattermail/issues/62/comments","events_url":"https://api.github.com/repos/rodcorsi/mattermail/issues/62/events","html_url":"https://github.com/rodcorsi/mattermail/issues/62","id":271753575,"number":62,"title":"Does not detect new Mail and does not mark mail as read","user":{"login":"ipsecguy","id":18041358,"avatar_url":"https://avatars3.githubusercontent.com/u/18041358?v=4","gravatar_id":"","url":"https://api.github.com/users/ipsecguy","html_url":"https://github.com/ipsecguy","followers_url":"https://api.github.com/users/ipsecguy/followers","following_url":"https://api.github.com/users/ipsecguy/following{/other_user}","gists_url":"https://api.github.com/users/ipsecguy/gists{/gist_id}","starred_url":"https://api.github.com/users/ipsecguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipsecguy/subscriptions","organizations_url":"https://api.github.com/users/ipsecguy/orgs","repos_url":"https://api.github.com/users/ipsecguy/repos","events_url":"https://api.github.com/users/ipsecguy/events{/privacy}","received_events_url":"https://api.github.com/users/ipsecguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-11-07T08:56:33Z","updated_at":"2018-03-14T08:48:21Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nMattermail is connecting to the IMAP server and waiting for new mail (IDLE). It does not, however, act on new mail or forward the webhook.\r\n\r\nIt also does not work if I wait long or when stopping and re-starting mattermail.\r\n\r\nAfter deleting the state file in the data directory it finds the new mail (repeating also all unread messages).\r\n\r\nAfter processing (forwarding the webhooks) the mails are not marked as \"read\" as they were in the previous version if I am not mistaken.\r\n\r\nIf I read them in the Mailaccount and delete the state file they are not re-processed. So it looks like:\r\n- new mail is not detected when it arrives\r\n- when state file is deleted, mattermail processes all unread mail in the account\r\n- mattermail does not mark the mails as read after they were processed\r\n\r\nAndreas\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rodcorsi/mattermail/issues/comments/372946116","html_url":"https://github.com/rodcorsi/mattermail/issues/62#issuecomment-372946116","issue_url":"https://api.github.com/repos/rodcorsi/mattermail/issues/62","id":372946116,"user":{"login":"ipsecguy","id":18041358,"avatar_url":"https://avatars3.githubusercontent.com/u/18041358?v=4","gravatar_id":"","url":"https://api.github.com/users/ipsecguy","html_url":"https://github.com/ipsecguy","followers_url":"https://api.github.com/users/ipsecguy/followers","following_url":"https://api.github.com/users/ipsecguy/following{/other_user}","gists_url":"https://api.github.com/users/ipsecguy/gists{/gist_id}","starred_url":"https://api.github.com/users/ipsecguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipsecguy/subscriptions","organizations_url":"https://api.github.com/users/ipsecguy/orgs","repos_url":"https://api.github.com/users/ipsecguy/repos","events_url":"https://api.github.com/users/ipsecguy/events{/privacy}","received_events_url":"https://api.github.com/users/ipsecguy/received_events","type":"User","site_admin":false},"created_at":"2018-03-14T08:48:21Z","updated_at":"2018-03-14T08:48:21Z","author_association":"NONE","body":"I'll try that on the weekend!"}}
{"actor":{"display_login":"ipsecguy"}}