Just like with Shopify's account page, you want to prevent mistakes in the email address on the contact form. In fact, there have been cases where replies did not arrive due to incorrect addresses. Here is an example of how to set up a confirmation form to prevent input mistakes.
Example of setting up a confirmation email form that cannot be sent unless it matches the inquiry form of the theme "Dawn"

Setup Step 1: Edit the code in "contact-form.liquid" (delete unused code)

Setup Step 2: Edit the code in "contact-form.liquid" (add a confirmation email address input form)

Step 3: Edit the code in "contact-form.liquid" (add JavaScript for address matching)

