fix: deal with invalid email addresses