Create mail.py

I don't know if this is verry secure. Maybe better programmers can give me some advice. That would be great. :-)