added UID retrieval; on by default

I'm building a mail archiving tool and needed UIDs to keep things consistent. The typical number returned by IMAP is just a sequence identifier which changes over time as emails are added/removed from the box.

Right now, it's assuming that the UIDs are always `int`s. I believe that's correct.

Happy to iterate on this one if it needs work.

Thanks for letting me contribute!