Sending an email using the SendGrid NPM library requires the installation of the NPM library from the editor, and uses a backend web module to call the installed NPM library.

To run this live example you are required to register with SendGrid, issue an API Key with permission to send emails, and paste the API Key into the Sendgrid API Key input field.

When clicking the Send Email button, the sendEmail web method (exported from the sendEmail web module, located in the Backend folder) is called. The sendEmail module invokes the sgMail module from the Sendgrid NPM library to send the email.

To Email:

From Email:



Sendgrid API Key: