Zev Averbach

Results 37 comments of Zev Averbach

I'm confirming the same problem on Mac, with the error `sh: -c: line 0: syntax error near unexpected token (' sh: -c: line 0: wget --recursive --convert-links --page-requisites --no-parent --directory-prefix...

@HwangGwa can you provide the contents of `raw_email` here?

Are you trying to select all folders? It depends on the IMAP provider. With Gmail, `"[Gmail/All Mail]"` will work (including the double quotes.

@martinrusev understood. You'd prefer that to - having a keyword argument in `build_search_query` called `hostname`, then - checking for a value of `imap.gmail.com` when unpacking the other `kwargs`, and -...

Also, having done this, update a `Struct`'s fields whenever such a method is called.

@martinrusev having made this change, `Struct` (aka `Message`) could have lots of properties for `flagged`, `read`, `unread`, etc.

``` >>> messages = Imbox.messages() >>> m = messages[0] >>> m Message(sent_from='[email protected]' date_sent=datetime.datetime(2018, 7, 27, 14, 37) subject='thank you for merging my PR' body='') >>> m.read True >>> m.unread False...

@martinrusev checking in with you on this. Would you accept a PR implementing this?

@martinrusev There is a `TODO` at the top of `query.py` alluding to this: "Validate query arguments."

@martinrusev checking in about this: Would you accept a PR?