Fix mail view (wrong query)