@'s are considered special chars in kix since they are used by built in macros. They have to be doubled up in strings. From the manual......

Quote:

Note: The characters @, %, or $ are normally used to indicate macros, environment strings, or variables. If you want to use these characters in a string, use @@, %%, or $$.





So @userid+"@@mycompany.com" would be interpreted by kix as sptomey@company.com for me.