... set user_id [cc_lookup_email_user $email] ...
There's a core change that must be applied.
Best wishes