first commit

This commit is contained in:
2026-03-07 21:31:38 +03:00
commit a879ba7b50
68 changed files with 2487 additions and 0 deletions

7
app/email/repository.py Normal file
View File

@@ -0,0 +1,7 @@
from sqlalchemy.ext.asyncio import AsyncSession
from app.email.models import EmailLog
async def create_email_log(db: AsyncSession, *, recipient: str, subject: str, body: str) -> None:
db.add(EmailLog(recipient=recipient, subject=subject, body=body))