model to validate email