Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

Make IMAP crawler leave email unread #52

Closed
akropp opened this issue Jul 27, 2017 · 3 comments
Closed

Make IMAP crawler leave email unread #52

akropp opened this issue Jul 27, 2017 · 3 comments

Comments

@akropp
Copy link

akropp commented Jul 27, 2017

IMAP crawler should not mark emails as read. At least in gmail, this is the current behavior.

If the fetch call in imapcrawler.py is changed to:
callResult, data = self.connection.uid('fetch', messageId, '(BODY.PEEK[])')

This has the desired behavior on gmail. I do not have other IMAP accounts to test.

@sochix
Copy link
Member

sochix commented Aug 2, 2017

Thanks for the feedback, will check it

@buster39
Copy link

buster39 commented Aug 6, 2017

Hi @akropp my gmail setup does not work. But yours seems to. Could you please post your crawler config for gmail? The part "Locations" and "credentials" are interesting for me.

Thanks

@sochix
Copy link
Member

sochix commented Sep 5, 2017

Done. @buster39 please create new issue with description of your problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants