接続の仕方はこれを参照
http://www.nixtutor.com/linux/send-mail-through-gmail-with-python/
送信データの作り方はここを参照
http://d.hatena.ne.jp/kmn23/20120801/1343841302
Bodyの添付の仕方はここがわかりやすい
http://en.wikibooks.org/wiki/Python_Programming/Email
本家のドキュメント
写真の添付の仕方はここを参照
https://docs.python.org/2/library/email-examples.html