Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Attach files and send them via your gmail account.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Python script for sending text file attachments

Written largely because all the examples I found for doing this we're pretty lame.

In short, this pulls in a file, creates an email message, and attaches the file to said message. It uses gmail as the mail transport.

Something went wrong with that request. Please try again.