I'm guessing at some column names, so adjust as needed:
SELECT user_emails.email FROM user_emails
INNER JOIN users ON user_emails.user_id = users.user_id
WHERE users.user_name = 'Dave Smith' AND user_emails.primary = 1
Also, depending on exactly what you are doing, you may need to change the name comparison to deal with upper/lower case letters.