Make setting the primary email address work on the edit page.