Add email and IP to code model