Prefer primary email if available
Merge pull request #29 from nwest/master

Tweak email to prefer primary email address if available