{% if email.meeting_booking %}{{ email.meeting_booking }} {% if email.meeting_booking_type %}{{ email.meeting_booking_type.name }}{% else %}All{% endif %} Delegates{% elif email.email_expired %}All Expired Members{% elif email.contact_study %}Contact Study Submissions{% else %}{% if email.groups.all %}Groups: {% for group in email.groups.all %}{{ group }}{% if not forloop.last %},{% endif %}{% endfor %}{% endif %} {% if email.types.all %}Types: {% for type in email.types.all %}{{ type }}{% if not forloop.last %},{% endif %}{% endfor %}{% endif %}{% endif %}