model: make email addresses unique to a user, not globally.
email: add optional user_id to get_existing_email query.