hngprojects / hng_boilerplate_python_fastapi_web

Apache License 2.0
155 stars 136 forks source link

feat: added feature to send email when user unsubscribes from a newsletter #949

Closed trevorjob closed 2 months ago

trevorjob commented 2 months ago

Description

This pull request implements a feature that sends a confirmation email to users when they unsubscribe from a newsletter. The confirmation email includes details about the successful unsubscription, provides information on how to resubscribe if the user changes their mind, and optionally gathers feedback on why they unsubscribed. This enhancement improves user communication and helps ensure a positive user experience. ​

Related Issue (Link to issue ticket)

This feature was discussed in the following issue: Send confirmation email on newsletter unsubscription

Motivation and Context

​This change is required to improve user experience by providing clear communication when users take the action of unsubscribing from a newsletter. Without a confirmation, users may be uncertain if their request was processed, leading to frustration and potential support queries. Additionally, the confirmation email serves as a record for users, enhancing trust in the platform.

How Has This Been Tested?

Types of changes

Checklist:

trevorjob commented 2 months ago

@johnson-oragui review