import Link from 'next/link' import { useParams } from 'common' import { AlertDescription_Shadcn_, AlertTitle_Shadcn_, Alert_Shadcn_, WarningIcon } from 'ui' export function EmailRateLimitsAlert() { const { ref: projectRef } = useParams() const after20240926 = Date.now() >= new Date('20240926T00:00:00Z').getTime() return ( Email rate-limits and restrictions 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{' '} documentation {' '} for an up-to-date information on the current rate limits.{' '} Set up a custom SMTP server now. {after20240926 ? 'To fight abuse, Auth email messages are restricted ' : 'On 26th September: To fight abuse, Auth email messages will be restricted '} to your project's organization members. For example, if your organization has 3 members with addresses: person-a@example.com, person-b@example.com and{' '} person-c@example.com, messages will be{' '} sent to those addresses only. Set up custom SMTP to send to any user. ) }