Gathering detailed insights and metrics for @singtone/nodemailer-sendgrid-transport
Gathering detailed insights and metrics for @singtone/nodemailer-sendgrid-transport
Gathering detailed insights and metrics for @singtone/nodemailer-sendgrid-transport
Gathering detailed insights and metrics for @singtone/nodemailer-sendgrid-transport
npm install @singtone/nodemailer-sendgrid-transport
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
10 Commits
1 Watchers
2 Branches
1 Contributors
Updated on Sep 26, 2021
Latest Version
0.1.5
Package Id
@singtone/nodemailer-sendgrid-transport@0.1.5
Unpacked Size
9.14 kB
Size
3.17 kB
File Count
5
NPM Version
6.14.13
Node Version
14.17.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
This repository is a nodemailer transport plugin sending email via SendGrid's V3 REST API.
Support SendGrid options such as categories, tracking settings or send_at etc.
Support http, https, socks4 or socks5 proxy via proxy-agent.
axios
Install via npm.
Support SendGrid options of categories, send_at, batch_id, asm, ip_pool_name, mail_settings, tracking_settings
1var nodemailer = require('nodemailer'); 2var sgTransport = require('@singtone/nodemailer-sendgrid-transport'); 3var proxy = require('proxy-agent'); //optional 4 5var options = { 6 auth: { 7 api_key: 'SENDGRID_APIKEY' 8 }, 9 proxyAgent: proxy(process.env.PROXY) //optional. i.e. https://myproxy.sample.com:8080 10} 11 12var mailer = nodemailer.createTransport(sgTransport(options));
1var email = { 2 to: ['john@foo.com', 'smith@bar.com'], 3 from: 'david@baz.com', 4 subject: 'Hello World', 5 text: 'Awesome sauce', 6 html: '<b>Awesome sauce</b>', 7 attachments: { 8 filename: 'text1.txt', 9 content: 'aGVsbG8gd29ybGQh', 10 encoding: 'base64' 11 }, 12 sendGrid: { //optional SendGrid Options 13 "categories": [ 14 "cake", 15 "pie", 16 "baking" 17 ], 18 "send_at": 1617260400, 19 "tracking_settings": { 20 "click_tracking": { 21 "enable": true, 22 "enable_text": false 23 } 24 } 25 } 26}; 27 28mailer.sendMail(email, function(err, res) { 29 if (err) { 30 console.log(err) 31 } 32 console.log(res); 33});
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More