# gmail-service

> Using this library you can send mail easily with your gmail account credentials

Latest version **0.0.7** (published 2019-07-12) · ISC license · 0 weekly downloads

## Install

```sh
npm install gmail-service
pnpm add gmail-service
yarn add gmail-service
bun add gmail-service
```

## 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.0.7 |
| Published | 2019-07-12 |
| First published | 2019-07-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 (+12 in 1 direct dependencies) |
| Install scripts | no |
| Author | Manjit |
| Maintainers | manjitvaghadiya |
| Keywords | gmail, email, smtp, mail, google Service |

## Links

- npm: https://www.npmjs.com/package/gmail-service
- npm.io page: https://npm.io/package/gmail-service

## Dependencies (1)

- [nodemailer](https://npm.io/package/nodemailer.md) ^6.2.1

## 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.0.7 (latest) — 2019-07-12
- 0.0.6 — 2019-07-12
- 0.0.5 — 2019-07-12
- 0.0.4 — 2019-07-12
- 0.0.3 — 2019-07-12
- 0.0.2 — 2019-07-12
- 0.0.1 — 2019-07-12

## README

gmail-service
================

Node.js library for sending mail using gmail. It includes only send mail using your gmail address.

Setup
========
```bash
npm install gmail-service
```

Supported format
========

```
send only using gmail on any valid email address.
```



Usage
========

Simple expression.

```javascript
let jsonParameter = {
    fromEmail : "youremail@gmail.com",
    password : "yourpassword", // case - sensitive
    toEmail : "sentemail@gmail.com",
    subject :"sample subject",    
    body:"<h1> Hello </h1>"  //you can use html as well as plain text into the body.
}
var response = mail.sendMailNotification(jsonParameter,function(error, response){
    if(error){
        console.log("LOG : ", error);
    }
    else{
        console.log("Success");
    }
});
```

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