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

Update custom email template with info about study and lab contact #1359

Open
becky-gilbert opened this issue Mar 7, 2024 · 1 comment
Open
Assignees

Comments

@becky-gilbert
Copy link
Contributor

becky-gilbert commented Mar 7, 2024

TL;DR

We'd like to add some automated text to the 'custom email' template (the one used for researchers sending emails to participants) indicating that the message was sent on behalf of a researcher/lab about a specific study, and letting the participant know how to reply to the researcher/lab.

Narrative

We recently had to change the way that we send 'custom emails', i.e. the messages sent from a study/researcher to participant. Specifically, these emails used to be sent from the lab email address but are now sent from the site's default MIT email, with the lab email as the reply-to address (see #1356).

We don't want families to be confused about this change, so it might help to have some automated text at the start of each of these emails explaining that the message was sent on behalf of a specific study/researcher, and letting the family know how they can get in touch with the researcher/lab. There are a few added benefits of these changes:

  • Sending this message from the site's email address makes it clearer to families that researchers sent the message via the website (as opposed to getting ahold of their participant's email addresses and contacting them off the site, which is against our T&Cs).
  • This will help families easily see what study the message is related to, since currently that information is not found in these emails unless the researcher remembers to add it to their custom message.

List of changes

This is taken from @ianchandlercampbell's google doc. I will update this if that spec changes, and Ian please feel free to edit this or comment below if anything is incorrect.

In the custom email template, add the following:

This is an email for [child.name] from [lab.name] for [study.name]. You may reply to this email to message directly with the researchers at [lab.name] or email them at [lab.email] if you have other questions.

We'll try adding this both above and below the {{ custom_message }} and then decided which is better.

(The changes below were originally included in this issue but have now been moved to a separate issue: )
In the base email template (which is used for both custom emails and study announcement emails):
- Add "CHS" to the update preferences and unsubscribe-all text:
> "Update your CHS email preferences"
> "Unsubscribe from all CHS emails"
- Under the unsubscribe link, add the linked text:
> "Questions or feedback for Children Helping Science?"
which opens an email sent to childrenhelpingscience@gmail.com with the subject line "CHS Family Feedback or Question"

Screenshots

Here's what our custom emails currently look like on the production site.

Researcher view - writing the message:

Screenshot 2024-03-06 at 3 26 25 PM

Participant view - receiving the message
Note that this is from the live site where our pending changes have not been released yet, so there is no unsubscribe-all link yet, and the email is sent from the lab account (in this example: lookit+demo@mit.edu).

Screenshot 2024-03-06 at 3 27 00 PM

@becky-gilbert
Copy link
Contributor Author

Update: this issue is on hold until we figure out whether/how to (1) handle emails sent to multiple families and (2) add the child's name to the view/message context.

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

3 participants