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`
- Host: GitHub
- URL: https://github.com/gridaco/emails
- Owner: gridaco
- License: apache-2.0
- Created: 2021-05-26T18:32:33.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T08:59:26.000Z (about 3 years ago)
- Last Synced: 2025-10-07T18:35:20.458Z (9 months ago)
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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();
}
```