Check for form.submitted. Fixes mails.txt.