Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: adjust plural in email digest (#2092)

Peter Chinmanc6323336d1e8
diff --git a/rust/cloud-storage/email_formatting/templates/digest.html b/rust/cloud-storage/email_formatting/templates/digest.html
index 3d9648310a..32fccc34ce 100644
--- a/rust/cloud-storage/email_formatting/templates/digest.html
+++ b/rust/cloud-storage/email_formatting/templates/digest.html
@@ -72,7 +72,7 @@
font-family: "Inter", sans-serif;
"
>
- You have {{ notifs.len() }} unread messages
+ You have {{ notifs.len() }} unread {% if notifs.len() == 1 %}message{% else %}messages{% endif %}
</div>
<hr
style="