Added a function to validate e-mails in functions.php