Release Notes - v2.0.0
This major release introduces a significant enhancement to the App Engine Mail API, enabling SMTP fallback support alongside the existing App Engine Mail service.
🚀 New Features
SMTP Support for Mail API
- App Engine Mail API now includes an SMTP backend, allowing applications to send emails via an external SMTP server when the standard App Engine Mail service is not available or preferred.
- New environment variables for configuration:
APPENGINE_USE_SMTP_MAIL_SERVICE: Set to'true'to enable SMTP usage.APPENGINE_SMTP_HOST: The hostname of the SMTP server (Required).APPENGINE_SMTP_PORT: The port of the SMTP server (Default:587).APPENGINE_SMTP_USER: Username for SMTP authentication.APPENGINE_SMTP_PASSWORD: Password for SMTP authentication.APPENGINE_SMTP_USE_TLS: Enable/disable TLS (Default:true).
Admin Email via SMTP
- New environment variable
APPENGINE_ADMIN_EMAIL_RECIPIENTSallows specifying a list of comma-separated email addresses to receive admin notifications when using the SMTP service.
🐛 Bug Fixes & Improvements
- Improved error handling for email sending failures.
- Updated
setup.pyversion to2.0.0.
📦 Compatibility
- Includes comprehensive unit tests for the new SMTP functionality.
- Verified compatibility with existing App Engine Mail API usage (default behavior remains unchanged unless explicitly configured).
Full Changelog: v1.2.0-beta...v2.0.0