The simplest thing to do would be to clean out everything in the public_html folder before publishing your new site.
If you are using "mailto" to collect information from a form it's usually coded something like this:
><form action="mailto:youremail.com" method="post" enctype="text/plain">
Check out this sample from W3Schools.