basic email client written in python