tested new mail saving, so minor fixes to that, also added deleting of mail hashes after sent