mailbot.py

Wrote a python3 script that looks for specifically formatted emails with photo attachments and uploads said photos to a web-server accessible folder. The script then replies to the emails with the URL or URLs of the image or images, and deletes the emails from the server. A simple, self-hosted, alternative to existing photo uploading services. The script is available as a gist. At the moment is pretty simplistic and special cased. If I find that mailbot needs to deal with other sorts of messages, I'll probably generalize it.