adds option for excel-attachment in email-report
minor changes after code-review
Merge branch 'email-excel' into staging-yedi