"""Email configuration settings.

⚠️ AUTO-GENERATED BY PRISM — DO NOT EDIT
This file is regenerated on every `prisme generate`.
"""

from __future__ import annotations

from pydantic_settings import BaseSettings


class EmailSettings(BaseSettings):
    """Email service configuration loaded from environment variables."""

    resend_api_key: str = ""
    email_from: str = "{{ from_address }}"
{% if reply_to %}
    email_reply_to: str = "{{ reply_to }}"
{% else %}
    email_reply_to: str = ""
{% endif %}

    model_config = {
        "env_prefix": "",
        "env_mapping": {
            "resend_api_key": "{{ resend_api_key_env }}",
        },
    }


email_settings = EmailSettings()
