Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPIKE] Investigate email outreach unsubscribe behavior #8401

Closed
DanielSass opened this issue Jan 15, 2025 · 5 comments
Closed

[SPIKE] Investigate email outreach unsubscribe behavior #8401

DanielSass opened this issue Jan 15, 2025 · 5 comments
Assignees

Comments

@DanielSass
Copy link
Collaborator

DanielSass commented Jan 15, 2025

Description

A question has come up as to how the unsubscribe function works with SendGrid:
If a user receives marketing outreach and unsubscribes from that email, they should still receive emails that are associated with core application functionality (notifications from test results and/or account recovery & password reset functions).

Proposed solution

  • Enable sendgrid on a lower env
  • Send an email (similar to the way to send marketing for new STLTs on the UP) & unsubscribe
  • Verify which unsubscribe list you end up on
  • Attempt to trigger other email actions in the app

Additional context

If you don't have access to SendGrid reach out to TL

Definition of Done

Document any issues discovered in a ticket. If no issues found, confirm with Dan and Mindy if we have any other questions.

@mirrorstage
Copy link
Collaborator

@DanielSass Hopefully they stick to the industry standard which is basically "transactional emails are not the same as system notifications" but I do wonder if they might have left it to be config out of the box.

Anyway, will watch this one.

@bobbywells52
Copy link
Collaborator

bobbywells52 commented Jan 30, 2025

Initial Spike Finding:

Unsubscribing from a PR/Marketing email DOES unsubscribe users from core functionally emails.

Workflow for discovery documented below:

  1. Successfully completed a covid test in dev1 on test patient associated with [email protected]

  2. Verified that test result was successfully sent

  3. Successfully sent mock marketing email to [email protected].

  4. Successfully unsubscribed by clicking the unsubscribe link at bottom of the email.

  5. Verified that [email protected] was added to the global unsubscribe list in SendGrid.

  6. Successfully ran second covid test on same test user in dev1.

  7. Test Result email failed to send.

Additional note: I cannot find any option to not include the global unsubscribe list in our Simple Report Test Result dynamic email template.

cc: @mirrorstage @mindyatwork @DanielSass

@bobbywells52 bobbywells52 self-assigned this Jan 31, 2025
@mindyatwork
Copy link
Collaborator

mindyatwork commented Feb 3, 2025

Could a potential solution be to create a different, marketing-specific unsubscribe group, and put that link on the marketing email instead? That way going forward people wouldn't be unsubscribing globally, just from marketing. @bobbywells52

@mindyatwork
Copy link
Collaborator

mindyatwork commented Feb 4, 2025

Created a new unsubscribe group New Features. Please use this instead as the unsubscribe group for future marketing emails. @jayna-SkylightDigital fyi

Image

@mindyatwork
Copy link
Collaborator

The fix was manually tested by @bobbywells52 and confirmed to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants