From 02104b91c8dc615211314ad251882611564f0880 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 8 Apr 2026 12:02:54 +0200 Subject: [PATCH] Add Android app link and improve email content with additional context and styling adjustments --- backend/email/emails/new-message.tsx | 30 +++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/backend/email/emails/new-message.tsx b/backend/email/emails/new-message.tsx index 9181dc17..8953ce97 100644 --- a/backend/email/emails/new-message.tsx +++ b/backend/email/emails/new-message.tsx @@ -1,4 +1,15 @@ -import {Body, Button, Container, Head, Html, Preview, Section, Text} from '@react-email/components' +import { + Body, + Button, + Container, + Head, + Html, + Link, + Preview, + Section, + Text, +} from '@react-email/components' +import {ANDROID_APP_URL} from 'common/constants' import {DOMAIN} from 'common/envs/constants' import {type ProfileRow} from 'common/profiles/profile' import {type User} from 'common/user' @@ -72,6 +83,22 @@ export const NewMessageEmail = ({ {t('email.new_message.viewButton', 'View message')} + + + {t( + 'email.new_message.daily_limit', + "To avoid overloading your inbox, you'll receive at most one email per day per conversation. If {creatorName} sends more messages today, you won't be notified by email.", + {creatorName}, + )}{' '} + {t( + 'email.new_message.app_prompt', + 'Want real-time notifications? Download the Compass app for Android:', + )}{' '} + + {t('email.new_message.app_link', 'Get the app')} + + {'.'} +