mail error fixed, adding progress reporter