npm i sendgrid code example Example 1: sendgrid sdk npm npm install --save @sendgrid/mail Example 2: npm sendgrid npm install --save @sendgrid/mail