Adds post method to form to fix email send bug.