Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@Kaweesha-mr Kaweesha-mr released this 17 Dec 08:02
· 3 commits to main since this release

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.