Newsletter API - Resubscribe Email Issue
Newsletter API - Resubscribe Email Issue
Issue
When someone resubscribes to the newsletter, they receive both:
- A resubscribe confirmation email
- A regular subscribe confirmation email
This creates a confusing user experience.
Expected Behavior
Users who resubscribe should only receive the resubscribe confirmation email, not both.
Suggested Fix
In the newsletter API’s subscribe endpoint, when detecting a resubscribe scenario:
- Check if the email already exists in the database
- If it’s a resubscribe (existing but unsubscribed), only send the resubscribe email
- Skip the regular welcome/confirmation email
Priority
Medium - This affects user experience but doesn’t break functionality.
Reported
Date: January 2025 Reported by: Blog integration team