Py-imapclient

Jul 20, 2023

Easy to use, Pythonic and complete IMAP client library

IMAPClient is an easy-to-use, Pythonic and complete IMAP client library. Features

  • Arguments and return values are natural Python types.
  • IMAP server responses are fully parsed and readily usable.
  • IMAP unique message IDs UIDs are handled transparently. There is no need to call different methods to use UIDs.
  • Escaping for internationalised mailbox names is transparently handled. Unicode mailbox names may be passed as input wherever a folder name is accepted.
  • Time zones are transparently handled including when the server and client are in different zones.
  • Convenience methods are provided for commonly used functionality.
  • Exceptions are raised when errors occur.


Checkout these related ports:
  • Xpbiff -
  • Xmailwatcher - Mailbox checker which displays sender and subject lines of mails
  • Xmailbox - Mailbox checker with sound and animation for X Window System
  • Xmail - X-based interface to the Berkeley mail program
  • Xfce4-mailwatch-plugin - Mail notification applet for the Xfce panel
  • Xfaces - Display shaped icons for mail spool contents
  • Xcite - Exciting Cite for any Mail/News reading modes on Emacs
  • Xbuffy - Replacement for xbiff that handles multiple mail files
  • X-face-e21 - X-Face utilities for Emacs
  • Wmmaiload - Incoming mail monitor dockapp with a similar look to wmcpuload
  • Wmbiff -
  • Whoson - Implementation of `WHO iS ONline' protocol
  • Websieve - Web based Cyrus IMAP user admin client
  • Wanderlust - Mail and news system for Emacs
  • Vrfy - Verify mail address