data = open('/usr/lib64/python2.7/test/zipdir.zip').read()
zipattachement = ezmail.MIMEApplication.MIMEApplication(data, 'zip',
    filename='zipdir.zip')
How to send a zip file as an attachment in python?