def MailReport(self, recipient, subject=None):
    dt = rdfvalue.RDFDatetime().Now().Format("%Y-%m-%dT%H-%MZ")
    subject = subject or "%s - %s" % (self.REPORT_NAME, dt)
    csv_data = self.AsCsv()
    filename = "%s-%s.csv" % (self.REPORT_NAME, dt)
    email_alerts.EMAIL_ALERTER.SendEmail(
        recipient, self.EMAIL_FROM, subject,
        "Please find the CSV report file attached",
        attachments={filename: csv_data.getvalue()},
        is_html=False)
    logging.info("Report %s mailed to %s", self.REPORT_NAME, recipient)
get ALL mounted fs from /proc/mounts
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/reports.py/ClientReport.MailReport--crossover with--dataset/ETHPy150Open openstack/swift/swift/common/middleware/recon.py/ReconMiddleware.get_mounted