SQL Export admin@example.com ${object.get_email_address_for_template()} ${object.name or ''}

You will find the report ${object.name or ''} as an attachment of the mail.

]]>