feat: update email rate-limit notice to inform about template change restrictions (#29087)

* feat: update email rate-limit notice to inform about template change restrictions

* apply suggestion from @J0

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>

---------

Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
This commit is contained in:
Stojan DimitrovskiandJoel Lee authored and GitHub committed 2024-09-11 19:26:34 +02:00
1 parent 3681003181
commit 78deede996
1 file changed
+8 -3
@@ -9,7 +9,7 @@ export function EmailRateLimitsAlert() {
return (
<Alert_Shadcn_ variant="warning">
<WarningIcon />
<AlertTitle_Shadcn_>Built-in email service is rate-limited!</AlertTitle_Shadcn_>
<AlertTitle_Shadcn_>Email rate-limits and template changes</AlertTitle_Shadcn_>
<AlertDescription_Shadcn_>
You're using the built-in email service. The service has rate limits and it's not meant to
be used for production apps. Check the{' '}
@@ -27,8 +27,13 @@ export function EmailRateLimitsAlert() {
href={`/project/${projectRef}/settings/auth#auth-config-smtp-form`}
>
custom SMTP server
</Link>{' '}
if you're planning on having large number of users.
</Link>
.<br />
<strong>
You will not be able to modify the email templates unless you've set up a custom SMTP
server or Send Email Hook server, except if you had changed it before this restriction
went into effect.
</strong>
</AlertDescription_Shadcn_>
</Alert_Shadcn_>
)