Skip to content

Releases: Kaweesha-mr/mail-service-template

v1.1.0

17 Dec 08:02
Compare
Choose a tag to compare

Mail Service v1.1.0 Release Notes

New Features and Improvements

  • Email Sending Speed Optimization:
    • Reduced email sending time from 3 seconds to 1.5 seconds, ensuring faster email delivery and improved performance.
  • Handlebars Template Integration:
    • Introduced Handlebars support for dynamic and personalized email content.
    • The sendGreetingEmail function now uses Handlebars templates, allowing customization with variables like name and companyLogo.
  • OAuth2 Authentication:
    • Implemented OAuth2 for secure Gmail email sending, ensuring modern authentication standards are met.
  • Connection Pooling:
    • Enabled connection pooling in Nodemailer, improving performance by reducing connection setup time.

Bug Fixes

  • Fixed ESM Module Error:
    • Resolved the ERR_REQUIRE_ESM error by using dynamic imports, ensuring compatibility with the latest Node.js versions.

Important

  • Ensure you have a greetings.hbs template in your templates directory to take full advantage of the new templating feature.

For more details, check the full changelog.


Initial release of emailer service

16 Dec 15:11
93193d7
Compare
Choose a tag to compare
Pre-release

Features

  • Added email sending functionality using Nodemailer.
  • Supports plain text emails and emails with attachments.
  • Greeting email functionality with customizable Handlebars templates.

Configuration

  • Added .env configuration options for SMTP settings and OAuth credentials.

Bug Fixes

  • Fixed email template rendering issues.

Setup

  • Ensure to configure your .env file with correct values (SMTP, OAuth, etc.).