via @mwhite 
a more explicit and concise way to do this would be:

```
def email_report(request, domain, report_slug, report_type=None):
    ...
    config.report_type = report_type or ProjectReportDispatcher.prefix