Re-introduce event details into emails

Due to a change in the email templating system, event details were removed from emails.

https://thepavilion.io/t/events-email-jobs-failing/1423/6

We need to re-add event details to emails. At a high level the outcome we want is:

  1. Topics with event details should include the event details in the body of the email

  2. Structured data should be added to emails so that event details are picked up by the email client, e.g. in gmail this will allow users to easily add the event to their google calendar.

We want to do this work in a way that tries to avoid the same issue that happened here from happening again, i.e. a change to Discourse leading to the code in our plugin preventing emails from being sent.

Ideally we will find a way in the new system of email templating to re-introduce event details into emails without overriding templates, or significant pieces of code.

1 Like