code: function(options) {
        inputEx.EmailField.superclass.setOptions.call(this, options);
  
        // Overwrite options
        this.options.messages.invalid = inputEx.messages.invalidEmail;
        this.options.regexp = inputEx.regexps.email;
  		
  		// Validate the domain name ( false by default )
  		this.options.fixdomain = (YAHOO.lang.isUndefined(options.fixdomain) ? false : !!options.fixdomain);
     }
docs: Set the email regexp and invalid message
  @param {Object} options Options object as passed to the constructor