feat: update style of mail

This commit is contained in:
2026-04-19 10:53:18 +03:00
parent 323e309c7e
commit 10e8dc4e96
6 changed files with 82 additions and 22 deletions

View File

@@ -4,5 +4,13 @@ from abc import ABC, abstractmethod
class ISender(ABC):
@abstractmethod
async def send(self, to: str, subject: str, body: str, plain: str | None = None) -> None:
async def send(
self,
to: str,
subject: str,
body: str,
plain: str | None = None,
*,
inline_png: tuple[str, bytes] | None = None,
) -> None:
raise NotImplementedError