public function getByEmail($email)
    {
        if (!is_string($email)) {
            return false;
        }

        // --------------------------------------------------------------------------

        //  Look up the email, and if we find an ID then fetch that user
        $oDb = Factory::service('Database');
        $oDb->select('user_id');
        $oDb->where('email', trim($email));
        $user = $oDb->get($this->tableEmail)->row();

        return $user ? $this->getById($user->user_id) : false;
    }