Refine engine contacts database
With !173 (merged) landing sometime soon, we need to work out what to do with the engine's contacts. We probably still want to keep them, since they provide a place to store the remote resource loading pref and may still be useful for people who don't use desktop contacts, but they need to get cleaned up, including the following:
-
Don't save obvious spam contacts (bgo 788073) -
Don't harvest Spam and Trash folders for contacts (bgo 714943) -
Don't load all contacts into memory at startup (bgo 771904) -
Scoring should take frequency into account (bgo 745232) -
Simplify Geary.Contact
API (removed normalised field, convert name+email properties to a RFC822 mailbox address) -
Add index and/or aux columns to allow fast querying of both name and email address -
Make the normalised form of the email address the unique and only form of the email address
Edited by Michael Gratton