Remove old inbox generation code in views