python for mailDB