Somehow in my mind I thought you have a Next project (that's why I was so thoughtful about the static part of it). If you're using create-react-app you can make a mini Express server that only sends the email. CRA can read environment variables by default (create-react-app.dev/docs/adding-c...)
Thanks again, I'll look into that!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.