mozilla/browserid — Issue #491: support a "preferred email address"
Author: lloyd
Created: 2011-10-26 18:28:18+00:00
State: open

It should be possible for a site to recommend an email address that the user use. This is a useful feature for when a site has a prefference for what email address the user should use. This preference could result from cookies or external environment factors.

One specific use case where this is important is a web app that's been purchased, whereby if the user uses any other email address than the one in the "application receipt", the application won't work.

*how* to emphasize the "preferred" email address needs UX feedback. What the api looks like is open for debate, I suggest options to the getVerifiedEmail call (as @mhanson and @benadida have talked about).

One issue that needs to be resolved is precedence when the information provided by the site conflicts with the user's previous behavior (namely, issue #1). I believe that the user's previous behavior should over-ride the preference of the website.