Added method to validate a mail address.