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 likename
andcompanyLogo
.
- 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.
- Resolved the
Important
- Ensure you have a
greetings.hbs
template in yourtemplates
directory to take full advantage of the new templating feature.
For more details, check the full changelog.