sci_watch.senders.gmail_sender module

sci_watch.senders.gmail_sender.send_email(subject: str, recipients: list[str], docs: list[sci_watch.source_wrappers.document.Document], summaries: Optional[list[str]] = None) None[source]

Converts a list of document into HTML and sends them thought SMTP :param subject: Subject of the email :type subject: str :param recipients: List of recipient emails :type recipients: list[str] :param docs: List of retrieved documents :type docs: list[Document] :param summaries: List of summaries (one for each document) :type summaries: list[str], default: None