LibCal Email Templates - ucsf-ckm/ucsf-library-ux-and-web-documentation GitHub Wiki
Events-related emails
When you create events, there are a number of different email notifications that can be sent out. They cannot be customized per event. Instead they apply to the whole calendar. The templates for these emails can be customized for a calendar in its Email Settings.
Editing a template to hide empty fields
See overview including list of template tags from Springshare Help Center: Events: Customize a calendar's email templates
Events can be online, in-person, or both. By default, details for both appears in the confirmation email — even if one of them is blank.

The solution
Edit the template to add sections, that is, {{#TAGNAME}}...{{/TAGNAME}}.

To show a tag's content only if the field contains a value, put it inside of a section.
The tag will only display the content between the {{#TAGNAME}} and {{/TAGNAME}} tags as long as the event's {{TAGNAME}} field is not empty.
If either field is left blank during event set-up, then only the active one will appear in the confirmation email.
