from fastapi import APIRouter
from ..core.config import settings

router = APIRouter()

@router.get("/health")
async def health_check():
    return {
        "status": "healthy",
        "service": settings.SERVICE_NAME,
        "version": settings.VERSION,
        "smtp_configured": bool(settings.SMTP_USERNAME)
    }
