oauth auto email host bugfix