Emails in Candidacy
On this page, you can find an overview of all the emails sent by the system, what triggers/prompts them, and when.
Sign-up – this email is triggered when a new end-user signs-up to candidacy.
Forgot password – this email is prompted by the end-user, when they forgot their log in password to the system.
Didn’t receive confirmation instructions – receives the same email as in the sign-up. This email is prompted by the end-user when they have not received their sign-up confirmation instructions
Didn’t receive unlock instructions – this email is prompted by the end-user when their account is locked and they did not receive the unlock instructions
Request approved – this email is sent when a candidate approval request has been approved by the user in the backend
Request rejected – this email is sent when a candidate approval request has been rejected by the user in the backend
Invite recommender – this email is sent to a recommender when the candidate invites them to endorse their candidacy profile. This email can also be triggered by a manual creation of a recommendation invitation in the backend.
Confirmation of recommendation – this email is sent to the recommender when they accept the recommendation invite
Create a password – the following email is sent, when an account is created manually in the backend by a user or admin
From the “Translations” page, you can edit the text and template of all emails that are sent from the system to end-users (this is applicable to all end-users, that is, voters, candidates, and recommenders) – read more about Translations here.
To do that, look for all translation keys ending with “body_html”, as shown below:
Below you can find an overview of all translation keys that can be targeted to edit the email translations. To edit these emails in the translations, simply copy the “Translation key” from the table below and input it in the “Key” field (as highlighted above).
Function | Description | Translation key |
|---|---|---|
Sign-up & Confirm account | this email is triggered when a new end-user signs-up to candidacy. | candidacy.account_mailer.confirmation_instructions.body_html |
Reset password | this email is triggered by the “Forgot password” action | candidacy.account_mailer.reset_password_instructions.body_html |
Create a password | this email is triggered when an account is created in the backend | candidacy.account_mailer.welcome_instructions.body_html |
Unlock account | this email is triggered by the “Didn’t receive unlock instructions” action | candidacy.account_mailer.unlock_instructions.body_html |
Recommendation invitation | this email is triggered when an end-user asks for endorsement (ie. recommendation invitation) | candidacy.recommendation_invitation_mailer.invite.other_candidate_body_html |
Confirmation of email change | this email is triggered when the email address of an account is changed | candidacy.account_mailer.email_changed.body_html |
Confirmation of password change | this email is triggered when the password of an account is changed | candidacy.account_mailer.password_change.body_html |
Confirmation of recommendation submitted | this email is triggered when an end-user gives a recommendation (ie. accepts the recommendation invitation) | candidacy.recommendation_invitation_mailer.recommendation_confirmation.body_html |