Automatic Response to Email

I have a contact me form on my website. A visitor fills out their name, email, subject, and message. I receive an email with the following info:

From: contact@mywebsite.com
To: contact@mywebsite.com
Subject: New submission with subject: Example Subject
Reply-To: John Doe <john.doe@example.com>

Hello,

Someone has just submitted a new form on your website.

Name: John Doe

Email: [john.doe@example.com](mailto:john.doe@example.com)

Subject: Example Subject

Content:

This is a test form submission. 


Every email I receive is exactly like this. How would I create a macOS mail rule using an apple script to automatically reply to this email: (I know how to make the rule and select the script, I just can’t get any of the dozen scripts I’ve made to work)

From: contact@mywebsite,com
To: john.doe@example,com
Subject: Re: Example Subject

John,

Thank you for contacting me. I will respond as soon as I am able.

[automatically select and add my signature I have created for the contact@mywebsite,com address]