Use UID to prioritise results

Handle clients that don't like names in mailto: URLs
Add ability to set format of URLs to deal with unknown clients