account for missing primary email
Merge pull request #123 from pkkup/master

account for missing primary email