docs: function (email) {
    var domain = Accounts._options.restrictCreationByEmailDomain;
    return !domain ||
      (_.isFunction(domain) && domain(email)) ||
      (_.isString(domain) &&
        (new RegExp('@' + quotemeta(domain) + '$', 'i')).test(email));
  }