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...)
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!