@godspeedsystems/plugins-mailer-as-datasource
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

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!

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'
  

Readme

Keywords

none

Package Sidebar

Install

npm i @godspeedsystems/plugins-mailer-as-datasource

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

8.34 kB

Total Files

6

Last publish

Collaborators

  • dharuv_manchanda
  • sakshiarora386
  • akash_yadav_godspeed
  • avtar
  • gurjot20
  • godspeed-systems