Categorizing open email, improved cat logic