1.0.3 ⢠Published 5 months ago
@godspeedsystems/plugins-mailer-as-datasource v1.0.3
godspeed-plugin-mailer-as-datasource
Welcome to the Godspeed Mailer Plugin! š
Supercharge your email delivery with ease using Godspeed and Nodemailer.
Sending emails in your Node.js application has never been smoother. The Godspeed Nodemailer Plugin provides seamless integration between the robust Godspeed framework and Nodemailer, the go-to solution for email delivery in Node.js.
Features
- Effortless Setup: Get up and running in minutes with our easy-to-follow setup guide.
- Dynamic Templating: Craft personalized emails with dynamic content using popular templating engines.
- Error Resilience: Robust error handling ensures reliable email delivery, even in challenging scenarios.
- Scalable and Secure: Designed for scalability and security, so your email system can grow with your application.
Whether you're sending transactional emails, newsletters, or notifications, this plugin empowers you to deliver messages with Godspeed. Let's elevate your email game together!
How to Use
- Create a godspeed project from the CLI , open the created project in vscode and then add the plugin from the CLI of vscode, select the
@godspeedsystems/plugins-mailer-as-datastore
to integrate the plugin.
> godspeed plugin add
,_, āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
(o,o) ā Welcome to Godspeed ā
({___}) ā World's First Meta Framework ā
" " āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
? Please select godspeed plugin to install: (Press <space> to select, <Up and Down> to move rows)
āāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā ā Name ā Description ā
āāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā ⯠ā prisma-as-datastore ā Prisma as a datasource plugin for Godspeed Framework. ā
āāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā ⯠ā aws-as-datasource ā aws as datasource plugin for Godspeed Framework ā
āāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā ⯠ā excel-as-datasource ā excel as datasource plugin for Godspeed Framework ā
āāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā āÆāÆ ā mailer-as-datasource ā mailer as datasource plugin for Godspeed Framework ā
āāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¼āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā ⯠ā kafka-as-datasource-as-eventsource ā kafka as datasource-as-eventsource plugin for Godspeed Framework ā
āāāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā“āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
- You will find the a file in your project related to the Prisma plugin at
src/datasources/types/mailer.ts
example usage:
mailer config ( src/datasources/mail.yaml )
type: mail
user: 'godspeed@gmail.com'
pass: 'rmeb bjak xcam xkub'
mailer event for Producer ( src/events/mail_send_event.yaml )
http.post./mail:
summary: sending_mail
description: sending_mail
fn: mail_send
body:
type: object
properties:
name:
type: string
responses:
200:
content:
application/json:
schema:
type: object
mailer workflow for send mail ( src/functions/mail_send.yaml )
summary: send
tasks:
- id: send_mail
fn: datasource.mail.send
args:
from: 'sender@gmail.com'
to: 'receiver@gmail.com'
subject: 'Hello from Godspeed'
text: 'Have a Nice day'