# Le notifiche email dei post / argomenti degli eventi sarebbero migliori se fosse inclusa la descrizione

**URL:** https://meta.discourse.org/t/email-notification-of-event-posts-topics-would-be-better-if-the-description-is-included/405280
**Category:** UX
**Tags:** email, events
**Created:** [14 Giugno 2026, 10:36pm UTC](https://meta.discourse.org/t/email-notification-of-event-posts-topics-would-be-better-if-the-description-is-included/405280 "2026-06-14T22:36:34Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [14 Giugno 2026, 10:36pm UTC](https://meta.discourse.org/t/email-notification-of-event-posts-topics-would-be-better-if-the-description-is-included/405280/1 "2026-06-14T22:36:34Z")

</div>

La notifica via e-mail per un nuovo post di evento non include la descrizione dell’evento. Se c’è del testo nel corpo del post, questo viene incluso.

Trovo che questo offra un’esperienza molto “snella”. Troppo snella!

Ad esempio:

### Il post dell’evento

[![image](https://global.discourse-cdn.com/meta/original/4X/8/9/0/89042445773233a2fedfb7eb2cc1bb8b90ce6846.png)](https://spokes.nz/t/spokes-social-meetup-tonight-at-1800/1638)

### L’e-mail corrispondente generata (in Gmail):

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/2/8/128da51bc04c044ff6ca0be9491f0cf25a2a94b3.png)

Poiché la direzione attuale sembra essere quella di incoraggiare le persone a inserire più contenuti nel campo Descrizione, a me sembra logico includerlo nelle e-mail di notifica.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [15 Giugno 2026, 12:41pm UTC](https://meta.discourse.org/t/email-notification-of-event-posts-topics-would-be-better-if-the-description-is-included/405280/3 "2026-06-15T12:41:31Z")

</div>

Grazie, sarà corretto da

> <https://github.com/discourse/discourse/pull/40880>
>
> Previously, the notification email for an event post showed almost
> nothing abou…t the event. The event card is rendered client-side from the
> \`\[event\]\` block's \`data-\*\` attributes, so emails (which run no
> JavaScript) fell back to a sparse table that omitted the description
> entirely and mishandled other fields: all-day events showed a bogus
> "12:00 AM", recurring events gave no hint that they repeat, and
> scheme-less URLs produced broken relative links.
> 
> This change extracts the email rendering into a dedicated
> \`DiscoursePostEvent::EmailRenderer\` that mirrors the on-site event card
> as closely as a static rendering allows. The email now includes the
> description, status (e.g. Expired/Closed), creator, recurrence label, "N
> going" count and cover image; formats all-day dates without a spurious
> time/timezone; renders emoji in the event name; cooks markdown in the
> location; and prepends a scheme to scheme-less URLs.
> 
> Translations are read from the existing client locale (the \`js.\*\`
> namespace) so the email and the card never drift, and recurrence/status
> values are gated by \`EventValidator::VALID\_RECURRENCES\` and the event's
> own status. Purely interactive parts of the card (RSVP buttons,
> chat-channel link, more menu) are intentionally omitted.
> 
> The creator is shown according to the site's name settings
> (\`display\_name\` gated by \`enable\_names\`) rather than always exposing the
> real name, which matches the on-site card and the other surfaces these
> emails reach, such as embedded comments.
> 
> \`PrettyText.format\_for\_email\` does no sanitization of its own, so every
> field is escaped where it is rendered. Description URLs are linkified by
> escaping each text segment independently, keeping any markup that follows
> a URL out of the generated \`href\`.
> 
> Finally, rendering is resilient: a failure on a single event is rescued
> and logged so one malformed event can never abort an entire digest or
> notification email.
> 
> \*\*BEFORE / AFTER\*\*
> 
> \<img width="2720" height="1666" alt="before\_after" src="https://github.com/user-attachments/assets/fe3aa7ce-7659-42c6-8c84-628516c92fdc" /\>

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [6 Luglio 2026, 6:00am UTC](https://meta.discourse.org/t/email-notification-of-event-posts-topics-would-be-better-if-the-description-is-included/405280/4 "2026-07-06T06:00:30Z")

</div>

Questo argomento è stato chiuso automaticamente dopo 3 giorni. Non è più possibile aggiungere nuove risposte.
