email search fixes
session IP fixes