# node-red-contrib-sendgrid

> Sending e-mail node using SendGrid service

Latest version **0.2.1** (published 2020-03-07) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install node-red-contrib-sendgrid
pnpm add node-red-contrib-sendgrid
yarn add node-red-contrib-sendgrid
bun add node-red-contrib-sendgrid
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2020-03-07 |
| First published | 2017-10-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 71.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | zuhito |
| Maintainers | zuhito |
| Keywords | node-red, sendgrid, mail, email, e-mail |

## Links

- npm: https://www.npmjs.com/package/node-red-contrib-sendgrid
- Repository: https://github.com/zuhito/node-red-contrib-sendgrid
- Homepage: https://github.com/zuhito/node-red-contrib-sendgrid#readme
- Issues: https://github.com/zuhito/node-red-contrib-sendgrid/issues
- npm.io page: https://npm.io/package/node-red-contrib-sendgrid

## Dependencies (2)

- [file-type](https://npm.io/package/file-type.md) 12.4.2
- [@sendgrid/mail](https://npm.io/package/@sendgrid/mail.md) 6.4.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 0.2.1 (latest) — 2020-03-07
- 0.2.0 — 2020-03-07
- 0.1.2 — 2020-01-03
- 0.1.1 — 2020-01-02
- 0.1.0 — 2020-01-01
- 0.0.8 — 2020-01-01
- 0.0.7 — 2020-01-01
- 0.0.6 — 2018-12-20
- 0.0.5 — 2017-10-29
- 0.0.3 — 2017-10-08
- 0.0.2 — 2017-10-07
- 0.0.1 — 2017-10-05

## README

# node-red-contrib-sendgrid

Sending e-mail node using SendGrid service

The default e-mail node sometimes encounters a login problem occurred from unusual behavior. For example, Gmail authentication will show an alert when Node-RED runtime is located in a different location from the user's local PC or smartphone. SendGrid node can solve the problem because SendGrid service ensures sending an e-mail.

## How to use 
(1) Install SendGrid node (node-red-contrib-sendgrid) using manage palette in Node-RED

(2) Get API key from SendGrid website ( https://sendgrid.com/ )

(3) Paste the API key on the property of SendGrid node
![property](https://github.com/zuhito/node-red-contrib-sendgrid/raw/master/property.png)

(4) Create flows using SendGrid node
![flow](https://github.com/zuhito/node-red-contrib-sendgrid/raw/master/flow.png)

## SendGrid node specification
Sends the <code>msg.payload</code> as an email, with a subject of <code>msg.topic</code>.
The default message recipient can be configured in the node.
If it is left blank, it should be set using the <code>msg.to</code> property of the incoming message.
you can also specify <code>msg.cc</code> and/or <code>msg.bcc</code> properties.
You can set sender of <code>msg.from</code> in the payload.
If the payload is a binary buffer then it will be converted to an attachment.
The filename should be set using <code>msg.filename</code>. Optionally <code>msg.description</code> can be added for the body text.

---
_Source: https://npm.io/package/node-red-contrib-sendgrid · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
