simple email validation

simple script for validating email address in server