updated email submit form with basic validation