Gmail alias - how to manually add the address book?
We have an email account that is gmail behind the scenes but uses a front end alias (e.g. name@organisation.ca). Adding the email account to Thunderbird is no problem, TB recognizes that it is a gmail account. However, it does not automatically add the address book. I tried to add manually using the new Accounts Hub CardDav putting in the email address under UserName and putting in imap.gmail.com:993 for the URL/Hostname. It does not work and I get the error: Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]
All Replies (6)
I may be missing the issue, but you can add gmail addressbooks from the addressbook pane using the CardDAV option.
david said
I may be missing the issue, but you can add gmail addressbooks from the addressbook pane using the CardDAV option.
That's what I am trying to do. But the issue is the email address is not a regular gmail address (i.e. it does not end in @ gmail . com ). Adding CardDav address gives two fields to enter data: First is username - so I add the email address. Second is URL/Hostname - I've tried imap.gmail.com, imap.gmail.com:993 and other variations but it always fails.
I will also add that when Thunderbird adds a regular gmail account, or outlook account, it has always automatically added the address book and contacts. Thunderbird added the irregular gmail account email just fine (it knew it was gmail even though the address does not end in gmail.com) but not the address book. Other email clients we tried (Bluemail, emClient, Mailspring) added the email account and address book automatically. I'm wondering if this is a bug in Thunderbird.
Try this for the URL:
https://www.googleapis.com/carddav/v1/principals/youremail address/lists/default/
I partially solved adding the address book. I used the string: https://www.googleapis.com/carddav/v1/principals/username@gmail.com/lists/default/ for the URL/hostname (conflicting info on the web on what to use).
However, it only imports gmail names under "Contacts" and not those under "Frequent contacts" or "Other Contacts". Other email clients import all the contacts under each of these labels, and TB itself imports all contacts under all labels for regular gmail accounts.
Since TB recognizes the alias address as gmail when first importing the account, and imports the email portion normally, it really should be able to bring in the complete contact list at the same time - like it does for regular gmail accounts. I've submitted this as a potential bug.
sfhowes said
Try this for the URL: https://www.googleapis.com/carddav/v1/principals/youremail address/lists/default/
Thanks - I didn't see this before my last reply, but I found that as well. It did connect, but only partial sync on contacts. The main bug though is if TB can identify the username as a gmail account when first adding, and auto-populate and sync email, it should be able to add contacts at the same time and not have to do manually. Other email clients have no problems doing that. I filed a bug report.