 self.port = port
        self.secure = secure
        self.username = username


class EmailContent:
    def __init__(self, body: str, subject: str, to_email: str, is_html: bool) -&gt; None:
        self.body = body
        self.subject = subject
        self.to_email = to_email
        self.is_html = is_html


class SMTPServiceInterface(ABC, Generic[_T]):
    def __init__(self, transporter: Transporter) -&gt; None:
        self.transporter = transporter

    @abstractmethod
    async def send_raw_email(
 