Export mail logs in txt