email tool written in python