Skip to main content

Export BBDB contacts to gmail filter import XML

Project description


This package installs a command-line python script and an emacs command for exporting a GMail filters Atom feed from the gnus-public and gnus-private fields in BBDB.


The package can be installed using the standard python package installation procedure. Extract the tarball, then run the following command inside the extracted directory:

$ python install

This will install the command-line utility and the rpatterson-gmail.el emacs library. Then add the following to your ~/.emacs:

(require 'rpatterson-gmail)


Once installed, the filters can be exported to a file simply by calling M-x bbdb-export-gmail-filters. You will be prompted for a file to export the filters to.

For every BBDB record that has a value in the gnus-private field, a filter will be included that matches the “To” GMail filter field on any BBDB net addresses for that record and applies the label specified in the gnus-private field value. The same is done for BBDB records with values in the gnus-public BBDB field but filters on the “From” GMail filter field instead.


0.1 - 2009-05-06

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for bbdb.gmailfilter, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size bbdb.gmailfilter-0.1.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page