Skip to content
#

email

Here are 4,232 public repositories matching this topic...

check-if-email-exists
malimccalla
malimccalla commented May 20, 2020

I have the following file that handles my sendgrid set up.

import sgMail from '@sendgrid/mail';

const sendGridApiKey = process.env.SENDGRID_API_KEY;

if (!sendGridApiKey) {
  throw new Error('The sendgrid api key has not been set in the environment variables');
}

sgMail.setApiKey(sendGridApiKey);

export { sgMail };

After setting my api key I need to be able to do som

Improve this page

Add a description, image, and links to the email topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the email topic, visit your repo's landing page and select "manage topics."

Learn more