The Google Thunderbird address book: staying in sync

Configuring sync with Google is easy.  Select an addressbook to sync with Google, and choose:

  • Personal Address Book if you want contacts auto-added by Thunderbird to appear in Google.  You’ll have one set of contacts.
  • zindus/yourname@gmail.com if you want to manage your Google contacts separately from other contacts.

When you first sync an addressbook, you may encounter Google’s rules for contacts:

  • an email address can only appear in one contact
  • no empty contacts

These rules are enforced in Gmail’s contact interface and to sync with Google, your Thunderbird addressbook must comply with them too.

Early versions of the Zindus addon took a “hands off” approach to rule violations by simply reporting them.

The addon now displays a summary of Google rule violations:

Google Contact rule violation example

In this example, three contacts reference the same email address.  “bloggs,fred” is selected because it is the contact with data in the most fields.

‘Confirm’ preserves the selected contact and deletes the other two.

‘Skip’ leaves the contacts unchanged.  You make the necessary edits using the Thunderbird addressbook.

Select ‘don’t ask’ if you want the addon to fix subsequent rule violations without asking:

  • if several contacts reference an email address, the addon preserves the ‘best’ one and deletes the rest
  • if contacts are ‘empty’ (meaning there is no data in any fields that map to Google) then they are deleted.

The ‘don’t ask’ feature is turned off by default.  Rule violations are mostly fixed on the first sync and never encountered again.  But a few users find themselves bumping into rule violations on an ongoing basis, possibly because of Thunderbird bugs or Google glitches.  For these folks, the ‘don’t ask’ preference allows safety to be traded off against conveniece.

zindus/ToBeDeleted

As a nod to safety, unsynced contacts “deleted” when fixing Google rule violations are actually moved into a addon-managed addressbook named zindus/ToBeDeleted. This feature is a poor-man’s workaround to the absence of a “Trash for contacts” feature in Thunderbird or Google.  zindus/ToBeDeleted is emptied frequently and its purpose is to assist with recovery of “oops, I chose the wrong contact” mistakes.  Note that any Google contacts in this addressbook will only contain those fields that map to Thunderbird.

If you liked this Blog, share the love :                    

5 Responses to “The Google Thunderbird address book: staying in sync”

  1. Lukas Zapletal Says:

    WOW! Great, thanks!

  2. Mark Bick Says:

    This is a very smooth add-on and works great for me. Thanks for taking the time to produce a well crafted add-on.

  3. Lee Bazalgette Says:

    Hi,

    Thanks for this great plug in!

    I’m trying to use Zindus to co-ordniate an address-book between OSx and Win Xp using a Google account and Thunderbird. The only problem currently is that it looses first-name and last-name data between the machines, which means if I try and export to back up to Mac address book I loose the names of the people!

    Is there a fix for this?

    Thanks again,
    Lee

  4. rvjc Says:

    Excellent add-on!! The autosync capability is currently bi-directional which is a bit dangerous for my application. I just deleted ALL my Gmail contacts when I cleared my thunderbird address book AFTER sync had been established…oops!

    It would be nice to have a configuration setting to enable uni-directional syncing only i.e. from Gmail contacts to PAB but NOT vice versa. Most Gmail users now prefer to use Google’s web interface but it’s nice to have a minimal traditional mail client configured to send mail e.g. when the user right clicks a file and clicks “Send to”->”Mail Recipient”. The only problem with that solution up to now was that Gmail contacts were not available in the mail client address book…but that is now solved by Zindus…subject to the above feature request.

    Keep up the good work!

  5. leni Says:

    Lee

    Currently if you want to use Google to sync two thunderbird addressbooks, only the fields that are common to both thunderbird and google are synced.

    A fully sync is certainly something that folk want. One thought is to use Google’s ExtendedProperties feature to store the full set of Thunderbird fields.

    A problem with ExtendedProperties is that Google limits the number ExtendedProperties a contact can have. This means that the feature isn’t guaranteed to be available to the addon, so it might work for some users, maybe even most, but not all. It’s even possible that for any given user, it’d work for some contacts but not others. And even a small percentage of problems generates a lot of support email!

    This isn’t to minimise the issue - we’re just not satisified that ExtendedProperties is the right approach.

    rvjc

    I’ll file a feature request to support one-way sync. If/when this gets implemented it really should support:
    one way tb ==> google and
    one-way google ==> tb

    Like most other feature requests, if there’s enough interest, it’ll get put on the roadmap.

Leave a Reply