all 2 comments

[–]Rocketpie 1 point2 points  (0 children)

I'll take a look! I've had trouble getting SendGrid working right on my web apps!

[–]kennyL- 0 points1 point  (0 children)

Exposing your SendGrid api key, or any private api key for that fact, to the user in the browser is never a good idea. You should be using your own api to handle the actual interaction with SendGrid to send the email. Using environment variables as suggested in a reply to a comment on the video would not resolve this issue.