Problem/Motivation
Integrating the "One-Click List-Unsubscribe" feature (RFC 8058) into a Drupal 9 project using the Simplenews module to enable users to unsubscribe from newsletters directly from their email client. Current solutions require manual token and URL handling, raising concerns about best practices and security.
Steps to reproduce
Develop a custom module to generate unsubscribe URLs.
Include unsubscribe URLs in email headers using custom token logic.
Proposed resolution
Seeking community advice on best practices for implementing "One-Click List-Unsubscribe" in Simplenews, ensuring functional and secure unsubscribe mechanisms.
Remaining tasks
Validate the custom module's approach with community feedback.
Adjust the implementation based on recommended best practices.
User interface changes
None anticipated, as changes primarily affect email headers and server-side processing.
API changes
Potential for new hooks or API functions to support enhanced unsubscribe functionality in Simplenews.
Data model changes
None anticipated, unless adjustments to subscriber data handling are recommended.
Additionally, I'm curious if there are any plans or initiatives within the Drupal community to integrate the "One-Click List-Unsubscribe" feature as a standard in Simplenews or similar modules. Such functionality would significantly enhance user experience and support compliance with current email marketing standards. Are there ongoing discussions or working groups focused on developing this or similar functionalities?