Hi, i'm trying to get notifications sent to me when someone submits my custom form

However, i set up the code and sendGrid but i am not receiving any emails when test it. Hoping someone is able to shed any light onto why this may be happening?

Thanks!

Firstly, please do not post any full API keys etc, always switch it to just API KEY or something else.

From your code your recipient is a gmail address.

Did you read the tutorial fully and read the part about using gmail addresses?
https://support.wix.com/en/article/corvid-tutorial-sending-an-email-on-form-submission

Important:
Using SendGrid to send emails from certain email providers may not work as expected. For example, see this notification about sending from Gmail addresses.
https://sendgrid.com/docs/ui/account-and-settings/gmail-dmarc/

Since it is just a notification to you, the admin… have you considered saving data into a database then coding notification API to get pop up when on mew sumbission? Or have you considered coding a triggered email to you instead?

Yeah that is a great alternative idea for this :wink:
https://www.wix.com/corvid/reference/wix-crm-backend.notifications.html
https://support.wix.com/en/article/about-your-dashboard-notifications