Fix EZP-22554: Email error when registering a user