Email is not allowed

Hello,

I’m trying to change a user’s email but it fails. Here’s what I tried…

  • through the Web at /users/foo/preferences/email where I get “Email is not allowed.” on a Gmail address (although Gmail is not in the list of forbidden domains). I test with an admin account and impersonating the user.
  • through the API with:
    curl -v -X PUT "https://#{api_host}/users/#{username}/preferences/email" -H "Content-Type: multipart/form-data;" -F "api_key=#{client.api_key}" -F "api_username=#{client.api_username}" -F email=#{new_email}

I’m using v2.0.0.beta10 +279. This used to work, or am I doing something wrong?