An open API service indexing awesome lists of open source software.

https://github.com/gridaco/emails

Visual email service for building services. npm `@mails`
https://github.com/gridaco/emails

Last synced: 3 months ago
JSON representation

Visual email service for building services. npm `@mails`

Awesome Lists containing this project

README

          

# @mails

```sh
yarn add @mails/template-name
```

## Templates

- one-time-password
- signup code
- login code
- welcome email

## Usage

```ts
import { template } from "@mails/email"

const client = template("my-app/otp-for-login")

function sendOtp(){
client.withData({
username: "Alice",
code: "0XX-2dS"
})
.to("alice@acme.com")
.send();
}
```