Good alternatives to the IMAPClient library?

I am trying to write a quick python script to grab a few variables from email headers such as the message id and the names as they appear next to the emails (pulling from a commercial inbox like Outlook/Gmail). IMAPclient is what comes up when I try to google this. I was wondering if anyone here could suggest any good or potentially safer alternatives? Otherwise, it looks like this does what I need it to do.