The first time a ticket is created through email, it creates a ticket in TICKET_TABLE whith the corresponding user_id numberThe second time a ticket is created through email by the same user, it creates the ticket with user_id = nullI found the problem, in "class.ticket.php" line 2276, in the statement: INSERT INTO '.TICKET_TABLE.'it uses: user_id='.db_input($user->id)instead of: user_id='.db_input($user->getId())Please, include this fix in the next release of osTicketThanks, Mariano