from typing import Protocol class TransactionalEmailClient(Protocol): async def send_email(self, to: str, subject: str, html_body: str) -> None: ...