2
0

Anpassen der E-Mails

This commit is contained in:
2024-09-12 13:50:38 +02:00
parent 192989ba92
commit 4a5748a499
6 changed files with 35 additions and 36 deletions

View File

@ -41,24 +41,22 @@ export const AlmostReachedChatsLimitEmail = ({
</MjmlSection> </MjmlSection>
<MjmlSection padding="0 24px" cssClass="smooth"> <MjmlSection padding="0 24px" cssClass="smooth">
<MjmlColumn> <MjmlColumn>
<Text>Your bots are chatting a lot. That&apos;s amazing. 💙</Text> <Text>Deine BLS bots chatten aber viel. Das ist mega! 🧡</Text>
<Text> <Text>
Your workspace <strong>{workspaceName}</strong> has used{' '} Dein Workspace <strong>{workspaceName}</strong> hat mittlerweile{' '}
{usagePercent}% of the included chats this month. Once you hit{' '} {usagePercent}% deines Monatlichen Limits genutzt. Wenn alle{' '}
{readableChatsLimit} chats, you will pay as you go for additional {readableChatsLimit} Chats genuntzt wurden, zahlst du für weitere Chats einfach "Pay as you go".
chats.
</Text> </Text>
<Text> <Text>
Your progress can be monitored on your workspace dashboard Du kannst deine Chatlimits in deimen Workspace unter "Einstellungen & Mitglieder" sehen.
settings.
</Text> </Text>
<Text> <Text>
Check out the{' '} Schau auf unserer {' '}
<a href="https://typebot.io/pricing">pricing page</a> for <a href="https://bls.media/bot">Übersichtsseite</a> r
information about the pay as you go tiers. weitere Infos und den Preismodellen.
</Text> </Text>
<Text> <Text>
As a reminder, your billing cycle ends on {readableResetDate}. Pssst. Am {readableResetDate} wird dein Chatlimit wieder auf 0 gesezt! 😁
</Text> </Text>
</MjmlColumn> </MjmlColumn>
</MjmlSection> </MjmlSection>
@ -74,6 +72,6 @@ export const sendAlmostReachedChatsLimitEmail = ({
ComponentProps<typeof AlmostReachedChatsLimitEmail>) => ComponentProps<typeof AlmostReachedChatsLimitEmail>) =>
sendEmail({ sendEmail({
to, to,
subject: "You're close to your chats limit", subject: "Du bist fast an deinem monatlichen Chatlimit",
html: render(<AlmostReachedChatsLimitEmail {...props} />).html, html: render(<AlmostReachedChatsLimitEmail {...props} />).html,
}) })

View File

@ -46,7 +46,7 @@ export const DefaultBotNotificationEmail = ({
) )
})} })}
<MjmlSpacer height="24px" /> <MjmlSpacer height="24px" />
<Button link={resultsUrl}>Go to results</Button> <Button link={resultsUrl}>Zu den Ergebnissen</Button>
</MjmlColumn> </MjmlColumn>
</MjmlSection> </MjmlSection>
</MjmlBody> </MjmlBody>

View File

@ -38,18 +38,19 @@ export const GuestInvitationEmail = ({
<MjmlSection padding="0 24px" cssClass="smooth"> <MjmlSection padding="0 24px" cssClass="smooth">
<MjmlColumn> <MjmlColumn>
<Text> <Text>
You have been invited by {hostEmail} to collaborate on his typebot{' '} Du wurdest von {hostEmail} zum Zusammenarbeiten an dem BLS bot {' '} eingeladen.
<strong>{typebotName}</strong>. <strong>{typebotName}</strong>.
</Text> </Text>
<Text> <Text>
From now on you will see this typebot in your dashboard under his Tja ohne deine Hilfe geht es wohl nicht!
workspace &quot;{workspaceName}&quot; 👍 Ab jetzt kannst du den bot in deinem Dashboard unser deren
Workspace &quot;{workspaceName}&quot; sehen 🫱🏻🫲🏼
</Text> </Text>
<Text> <Text>
Make sure to log in as <i>{guestEmail}</i>. Melde dich einfach mit <i>{guestEmail}</i> an.
</Text> </Text>
<MjmlSpacer height="24px" /> <MjmlSpacer height="24px" />
<Button link={url}>Go to typebot</Button> <Button link={url}>Zu BLS bot</Button>
</MjmlColumn> </MjmlColumn>
</MjmlSection> </MjmlSection>
</MjmlBody> </MjmlBody>
@ -62,6 +63,6 @@ export const sendGuestInvitationEmail = ({
}: Pick<SendMailOptions, 'to'> & ComponentProps<typeof GuestInvitationEmail>) => }: Pick<SendMailOptions, 'to'> & ComponentProps<typeof GuestInvitationEmail>) =>
sendEmail({ sendEmail({
to, to,
subject: "You've been invited to collaborate 🤝", subject: "Du wurdest eingeladen, deine Hilfe wird benötigt 🤝",
html: render(<GuestInvitationEmail {...props} />).html, html: render(<GuestInvitationEmail {...props} />).html,
}) })

View File

@ -29,17 +29,17 @@ export const MagicLinkEmail = ({ url }: Props) => (
</MjmlSection> </MjmlSection>
<MjmlSection padding="0 24px" cssClass="smooth"> <MjmlSection padding="0 24px" cssClass="smooth">
<MjmlColumn> <MjmlColumn>
<Text>Here is your magic link 👇</Text> <Text>Ouuu hier ist dein magischer Link</Text>
<MjmlSpacer /> <MjmlSpacer />
<Button link={url} align="center"> <Button link={url} align="center">
Click here to sign in Automatisch anmelden
</Button> </Button>
<Text> <Text>
If you didn&apos;t request this, please ignore this email. Wenn du dich jetzt wunderst woher die E-Mail kommt.. kannst du sie einfach ignorieren 🙃
</Text> </Text>
<Text> <Text>
Best, Beste Grüße,
<br />- Typebot Team. <br />- Dein Team von BLS media
</Text> </Text>
</MjmlColumn> </MjmlColumn>
</MjmlSection> </MjmlSection>
@ -53,6 +53,6 @@ export const sendMagicLinkEmail = ({
}: Pick<SendMailOptions, 'to'> & ComponentProps<typeof MagicLinkEmail>) => }: Pick<SendMailOptions, 'to'> & ComponentProps<typeof MagicLinkEmail>) =>
sendEmail({ sendEmail({
to, to,
subject: 'Sign in to Typebot', subject: 'Bei BLS bot anmelden',
html: render(<MagicLinkEmail {...props} />).html, html: render(<MagicLinkEmail {...props} />).html,
}) })

View File

@ -38,16 +38,16 @@ export const ReachedChatsLimitEmail = ({
<MjmlSection padding="0 24px" cssClass="smooth"> <MjmlSection padding="0 24px" cssClass="smooth">
<MjmlColumn> <MjmlColumn>
<Text> <Text>
It just happened, you&apos;ve reached your monthly{' '} Oh krass, du hast dein monatliches Limit von {' '}
{readableChatsLimit} chats limit 😮 {readableChatsLimit} Chats erreicht 😮
</Text> </Text>
<Text> <Text>
If you&apos;d like your bots to continue chatting with your users Wenn du willst, dass deine BLS bots diesen Monat noch fleißig weiter chatten
this month, then you need to upgrade your plan. 🚀 erhöhe einfach deinen Plan oder kontaktiere uns. 🚀
</Text> </Text>
<MjmlSpacer height="24px" /> <MjmlSpacer height="24px" />
<Button link={url}>Upgrade workspace</Button> <Button link={url}>Plan erhöhen</Button>
</MjmlColumn> </MjmlColumn>
</MjmlSection> </MjmlSection>
</MjmlBody> </MjmlBody>
@ -62,6 +62,6 @@ export const sendReachedChatsLimitEmail = ({
ComponentProps<typeof ReachedChatsLimitEmail>) => ComponentProps<typeof ReachedChatsLimitEmail>) =>
sendEmail({ sendEmail({
to, to,
subject: "You've reached your chats limit", subject: "Deine Bots haben das Limit erreicht 🤯",
html: render(<ReachedChatsLimitEmail {...props} />).html, html: render(<ReachedChatsLimitEmail {...props} />).html,
}) })

View File

@ -36,14 +36,14 @@ export const WorkspaceMemberInvitation = ({
<MjmlSection padding="0 24px" cssClass="smooth"> <MjmlSection padding="0 24px" cssClass="smooth">
<MjmlColumn> <MjmlColumn>
<Text> <Text>
You have been invited by {hostEmail} to collaborate on his workspace{' '} Du wurdest von {hostEmail} zum zusammenarbeiten in deren Workspace {' '}
<strong>{workspaceName}</strong> as a team member. <strong>{workspaceName}</strong> als Teammitglied hinzugefügt.
</Text> </Text>
<Text> <Text>
From now on you will see this workspace in your dashboard 👍 Ab jetzt siehst du diesen Workspace in deinem Dashboard 😁
</Text> </Text>
<Text> <Text>
Make sure to log in as <i>{guestEmail}</i>. Melde dich dafür mit <i>{guestEmail}</i> an.
</Text> </Text>
<MjmlSpacer height="24px" /> <MjmlSpacer height="24px" />
<Button link={url}>Go to workspace</Button> <Button link={url}>Go to workspace</Button>
@ -60,6 +60,6 @@ export const sendWorkspaceMemberInvitationEmail = ({
ComponentProps<typeof WorkspaceMemberInvitation>) => ComponentProps<typeof WorkspaceMemberInvitation>) =>
sendEmail({ sendEmail({
to, to,
subject: "You've been invited to collaborate 🤝", subject: "Du wurdest zum Zusammenarbeiten eingeladen 🤝",
html: render(<WorkspaceMemberInvitation {...props} />).html, html: render(<WorkspaceMemberInvitation {...props} />).html,
}) })