import os from app.utils.emailer import send_email _FRONTEND_URL = os.getenv("FRONTEND_URL", "https://aicpa.duckdns.org") async def send_signup_welcome_email(to: str, name: str | None = None): display_name = name or "Valued Customer" body = f"""

Dear {display_name},

Welcome! 🎉

Your account has been successfully created. We're excited to support you with your compliance and bookkeeping needs.

You can log in to your dashboard using the link below:

👉 Login to Dashboard

If you did not create this account, please contact our support team immediately.

Kind regards,
Support Team

""" await send_email( to=to, subject="Welcome 🎉", body=body )