Updated GetCategory with email filter