Help
Organizers

Edit the wording of an email

Under Email templates in the admin (staff only) every email Techr sends is listed, with two exceptions. Allauth emails the site does not use yet (password-changed notices, sign-in codes) are not in the list. And a confirmation sent with a code instead of a link uses allauth's own text, as do rows queued before an email became editable. Open one to change its subject, body or footer. Until you save a change, the built-in wording is sent. Use the group filter or the search box to find one; each row says when the email is sent.

What is in the list

  • Hackathon: ticket invites, judge and organizer invites, the registration confirmation, announcements, idea withdrawals, team publishing and the four reminders.
  • Companies: confirming a work email, a claim being verified, with staff, approved, not approved or an ownership removed, an invite to a company's team, manager access asked for and decided, a role changed, removed from a team, and a submitted company listed or not listed.
  • Staff alerts: a new owner, a claim to review, a profile change, a submitted company, a correction suggested for an event with no team, and the generic alert other parts of the site write in their own words (a calendar feed that keeps failing, an Eventbrite problem, a report). For the generic alert the code writes the subject and the paragraphs; you can change the footer and the button's frame.
  • Event listings: an organizer's consent (confirmed, recorded, received, withdrawn), corrections (suggested, decided), programs (an event submitted, approved or declined, invited, an invite answered, staff review) and the outcome of an event someone suggested (listed, not listed).
  • Sponsors: the placement report.
  • Notifications: the follow notification sent right away and the daily or weekly summary.
  • Digest: the weekly digest "This week in Calgary tech" and the email that confirms a sign-up.
  • Launch: the one-off "Techr has launched" email.
  • Account: confirm your email address (a new account, and sent again), password reset, the reset email for an address with no account, the sign-up with an address that already has an account, and the account-deleted notice. These are sent right away, even past the daily email limit, and each link in them (confirm, reset, sign up) is removed from the email log when the email is sent, cancelled or finally fails, so one that failed can't be sent again: ask for a new one. Every one of them except the account-deleted notice must keep its link (confirm, reset, or sign up for the address with no account; the save is refused without it), and the sample links are fake, so a test send never hands out a working key. Allauth's subject prefix with the site name is gone: the subject is exactly what you write.

Each notice is its own email, so you change the sentence that is actually sent. The small text shown in the notification bell for some of them is written in code and does not change with the email; the email's subject is the bell's title.

Editing

  • Subject is one line. Body and Footer use the same editor as announcements: bold, italic, links, headings and lists. The footer is optional; leave it empty to keep the line the layout puts under the email.
  • Put variables in the text with {{ name }}. The Variables panel lists everything that email can use and what each one means. Click one to put it where you last typed. Each is marked used or unused as you type; a name that isn't in the list is flagged and the email can't be saved until it's removed.
  • To link to an address in a variable, choose Link and type the variable, for example {{ claim_url }}.
  • {% button claim_url "Claim my spot" %} on its own line adds a button (a plain "Claim my spot: link" in the text version). The variable must hold an address; if it is empty, no button shows.
  • Show text only sometimes by putting {% if open_seats %} on its own line before it and {% endif %} on its own line after it. {% else %} and {% elif other %} work the same way. {% for name in teammates %} ... {% endfor %} repeats for each item of a list ({% empty %} inside it shows text when the list is empty).
  • The announcement and team emails also use {% kicker kind kind_label event_title %} (the coloured line on top) and {% team_badge team_number team_name team_color %} (the team's number and name). Like a button, you choose where they go, not how they look.
  • Other template tags aren't allowed. A value someone typed (an idea title, a team name) always shows as plain text, never as formatting or a link.

Lists of cards (digest, summaries, placement report)

The cards in the weekly digest and the summaries, and the table in the placement report, are laid out by the site and added with a block on its own line. You choose where each goes and the headings around it, not how the card looks:

  • {% section_title "From who you follow" %} is a small coloured heading (add a variable after it to join them, for example {% section_title "Coming up in" city %}).
  • {% digest_events picked_events %}, {% digest_updates updates %}, {% digest_jobs jobs %}, {% digest_programs programs %} and {% summary_items section.items %} show the events, updates, jobs, programs or items. An empty list shows nothing, so put the heading inside the matching {% if %}.
  • {% digest_sponsor sponsored %} is the sponsored event of the digest. It is always labelled Sponsored.
  • {% placement_table rows totals %} is the sponsor report's daily table.

Required wording

The weekly digest, the launch email, the follow notification and the summaries must keep their unsubscribe link: it has to be a real link in the footer or the body, for example [Unsubscribe]({{ unsubscribe_url }}), as the built-in wording has (the variable on its own is only text, not a link). The weekly digest must also keep its sponsored slot ({% digest_sponsor sponsored %}) because it is a booked placement. A save without them is refused with the reason: the link must show in every sample, so a condition that hides it in some case does not count. The one-click unsubscribe button that mail apps show keeps working whatever the text says.

Preview and test

The preview under the editor updates as you type, with sample values (never the raw {{ }}). Pick another Sample to see the other cases of that email, for example a ticket buyer with and without a claim link, a claim approved or declined, or a digest with and without an account or a sponsor. Plain text shows the text version. The real digest for a given week and person is under Notifications > Digest subscriptions > Weekly digest; it uses the wording saved here.

Preview as (next to Sample, on emails that come from one record) fills in the details of a real record instead of the made-up ones: pick a hackathon, a company, an organizer's consent, an event, a program entry, a sponsored placement, a suggested event or a city (the digest) and its name, dates, links and, for a placement report, its real counts show in the preview. The newest 100 records are listed. Only what comes from the record itself changes: the person's name, their personal links (claim, invite, confirm, unsubscribe), the decision and any note typed for that one email stay sample values, so what you see is close to, not exactly, what one person receives. The Sample you pick still applies to those, and Sample values goes back to the made-up ones. Choosing a record never sends or changes anything. Emails with nothing to take from a record (account emails, notifications, the launch email) don't have the choice.

Send test email sends what is in the form right now, saved or not (with the same Preview as record, if you picked one), to the address you give. It must belong to an active staff account. The subject starts with [TEST] and the email shows in Outbound emails with a kind starting test..

Send a reminder by hand

The four hackathon reminders (Ideas and voting are open, Voting closes soon, Buyers with unassigned seats and Invited but not signed up) also have a Send to everyone at this event section at the bottom of their page. It is the way to send them while the automatic reminders under Reminders are off.

  1. Save your wording first. The button says Save your changes first while the form has changes that aren't saved, because the email always goes out with the saved wording.
  2. Pick the hackathon under Preview as. The button stays off until you do.
  3. Press Send to everyone at this event. A page lists everyone registered for the event (hackers, judges, organizers, ticket buyers and people holding a seat). The columns say why each person is or isn't ticked: Who they are, Already sent (when they last got this reminder for this event, or Never), Can email (Yes, or the reason it can't be sent: unsubscribed, test address, test event) and Usual group (Yes, or why not, such as "Not a hacker (Judge)", "Ticket buyer, not signed up", "All tickets assigned" or "Already signed up"). One more column depends on the email: Picks (voting closes soon), Unassigned tickets (buyers with unassigned seats) or Signed up (invited but not signed up). Only people in the usual group who haven't got it yet start ticked. Addresses that can't be emailed are listed but can't be ticked. Untick anyone you want to skip, tick anyone else you want to include, or use Select all, Select none and Select usual group (the people who start ticked). The wording is written for the usual group, so check the preview before ticking other people.
  4. Press Send to the ticked people. The emails join the queue (the daily email limit still applies), a note appears in the email's History, and you come back to the page with how many were queued.

The email is the template alone: no organizer's note, and the subject comes from this page, not from the Reminders rows. Submitting the same confirmation page twice doesn't send twice; open the page again to send again.

Send the team email by hand

You're on Team X (under Hackathon) also has a Send to everyone on a team at this event section. Use it for everyone on a team when Email teams automatically is off in the event settings (the default: publishing and moves send nothing), and for people placed after publishing: a started team, a move, a late add, or anything done on the day of the event, when the automatic team email is skipped. It works like the reminders above (save first, pick the hackathon under Preview as, press the button, untick anyone to skip), with these differences:

  • The list is every active hacker on a published team, by team, with the Team they are on and Last team email (when they last got one, and for which team if it was a different one). Nobody off a team is listed.
  • Only people who have no sent or queued team email for their current team start ticked. Someone moved after getting an older team's email is ticked again.
  • Each person's email names their team, teammates and lead as the team is now, and team leads get the lead version.
  • It sends on the event day too, since you pressed it on purpose.

Saving, and going back

Saving checks that the wording parses, uses only allowed tags and known variables, keeps what is required and renders for every sample. If not, it tells you what to fix and saves nothing. Keep the subject under 200 characters with the sample values (it is refused if longer). Emails already waiting in the queue use the new wording when they are sent.

If a saved edit ever fails while an email is being sent, that email goes out with the built-in wording instead of not going out, and the error is logged for the developers.

Reset to default (on the email's page once it is customized, or Reset to the built-in wording in the list's actions) throws the edits away and goes back to the built-in wording. The list filter Is customized shows which emails you have changed. A reminder's own subject (set under Reminders) still wins over the subject here; leave a reminder's subject blank and it uses the subject on this page.