Log submissions to file and email