don't use regex match var for email unless it actually matched