Code climate refactoring

Refined pq_mailer and the report controller to improve cc score