title: Multiple html files in Email body
body: <p>i have multiple csv files:</p>
  
  <p>I'm using this script to get html output:</p>
  
  <pre><code>#!/usr/bin/python
  
  import pandas as pd
  import sys
  import json
  sys.stdout = open('output.html','wt')
  
  df = pd.read_csv('users.csv')
  print(df.to_html())
  </code></pre>
  
  <p>For other file</p>
  
  <pre><code>#!/usr/bin/python
  
  import pandas as pd
  import sys
  import json
  sys.stdout = open('output1.html','wt')
  
  df = pd.read_csv('groups.csv')
  print(df.to_html())
  </code></pre>
  
  <p>created mailheader file</p>
  
  <pre><code>To: user@example.com
  Subject: my subject
  Content-Type: text/html
  </code></pre>
  
  <p>Then run:</p>
  
  <pre><code>cat mailheader output.html output1.html | sendmail -t
  </code></pre>
  
  <p>It attaches both files into email body, but i would like to add file name and space between tables, is it possible ?</p>
  
  <pre><code>    users.csv 
  
      output.html content
  
      groups.csv 
  
     output1.html
  </code></pre>
  
  <p>desired output:<a href="https://1drv.ms/w/s!AizscpxS0QM4hJo7PSSUarnfy8BEvg" rel="nofollow noreferrer">https://1drv.ms/w/s!AizscpxS0QM4hJo7PSSUarnfy8BEvg</a></p>
  
  <p>Sorry for doc file, space between 2 tables doesn't have to be so large, just couldn't reduce it</p>