Correctly process email tickets for existing users

If a ticket is created via email for an existing user, under some circumstances, no user will be associated with the new ticket.

Maybe fixes #526