Check an email is verified before setting it as primary.

I'm not sure if you want this as a feature but I think it's logic to think that an email should be verified first before setting it as primary.

Also this pull requests fix a stupid typo I did in my previous commits. I added messages.success and messages.error without passing the request as a parameter and that raises a TypeError.