I am using firebase cloud function for sendgrid email const sgMail = require ( '@sendgrid/mail' ); sgMail . setApiKey ( "" ); export function sendEmail ( to : any , subject : any , text : any , html : any ) { const msg = { to : to , from : 'example@email.com' , subject : subject , text : text , html : html , }; ( async () => { try { await sgMail . send ( msg ); } catch ( exceptions ) { console . error ( exceptions ); return exceptions ; } })(); }
Gadgets Teach - Provide Tech News, Latest technology news daily, new best tech gadgets reviews which include mobiles, tablets, laptops, video games. Being a tech news site we cover the latest tech news daily online from India and around the world, reviews, updates on technology today from companies like google, apple, samsung and others also new and upcoming mobiles, cameras, laptops, video games - gadgetsteach.com