initial draft of email validation script