python logger using smtp.