Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

it also implements a small imap client(which may work fine for just reading gmail, but imap is a scary thing, everyone uses it a little differently)

It uses imaplib from the Python standard library. Doesn't look scary to me.



How deep have you gone with the library and with an imap client implementation? There is definitely a lot of variation from imap server to imap server. Things come back with weird and broken encodings sometimes (the server will tell you that a message is unicode and then return invalid unicode), commands that seem to be read-only will have persistent effects, etc. IMAP is nowhere near as nice to work with as its standard and interface imply.


I know IMAP is hard way, but it most used nowadays. Now I try to work with gmail imap, so it is easier for support just one server for first.

BTW. I had seen unicode issues... And yes, there is a lot of work...


Gmail IMAP's IDLE support is broken (probably intentionally). It will report new messages, but it won't report changes to the number of unread messages (or which messages).

This means your clients don't automatically update read message stats, which is a pain (most surprising thing I noticed moving to Gmail from hosting IMAP on my home server).


> IMAP is nowhere near as nice to work with as its standard and interface imply.

I prefer to say that it is just as horribly awful as it's abomination of a ill conceived standard implies.

Pretty much "everything" is wrong about IMAP, from allowing the use of message sequence numbers that can change under you, to the horribly overcomplicated support for addressing mime parts, to the overcomplicated grammar...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: