Gatsby site can't locate email templates

Hey everyone, I’m having problems getting my gatsby site @ https://builtbetter.tech/, site name: builtbettertechnology, to send custom email templates.

I’ve tried multiple file sources but have had no luck. The templates are located in /src/email_templates/ of my site, I have a feeling the problem is that gatsby is not building the pages necessary for Netlify to find them but I’m not sure how to get around this.

One thing I keep coming back to is creating the templates as a JS file and having gatsby build the page but then I am working with JSX and unable to format the GO syntax to access the variables needed in the email.

Any insight would be greatly appreciated!

All the best,
Darian

Hi, I just saw your other post in another topic and suggested you make a separate topic. Which you already did. :+1: Please disregard my response there.

That said, I think the most straightforward way to accomplish what you need is to just use plain html files that you put in the public folder. Is there anything in Gatsby that you rely on for your email templates?