Net::Gmail::IMAP::Label(3) IMAP proxy for Google's Gmail that retrieves message labels


gmail-imap-label [OPTION]...


This module provides a proxy that sits between an IMAP client and Gmail's IMAPS server and adds GMail labels to the X-Label header. This proxy uses the Gmail IMAP extensions <>.

To use this proxy, your e-mail client will need to connect to the proxy using the IMAP protocol (without SSL).


The simplest way of starting is to run the proxy on the default port of 10143:


An alternative port can be specified using the --port option

    gmail-imap-label --port 993

The proxy has been tested with both mutt (v1.5.21) and offlineimap (v6.3.4). Example configuration files for these are available in the "doc" directory.


Report bugs and submit patches to the repository on Github <>.


Copyright 2011 Zakariyya Mughal.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  • the ISC license, or
  • the Artistic License version 2.0.


Thanks to Paul DeCarlo <> for pointing out the Gmail IMAP extensions.