def send_email(subsystem, sender, recipients, subject, html_body=None, text_body=None, message_uuid=None):
    """Send an email to a list of recipients using the system configured email method (SES or SMTP)

    Args:
        subsystem (str): Name of the subsystem where the email originated from
        sender (str): From email address
        recipients (`list` of `str`): List of recipient email addresses
        subject (str): Subject of the email
        html_body (str): HTML body of the email
        text_body (str): Text body of the email
        message_uuid (str): Optional UUID message identifier. If not provided one will be generated automatically

    Returns:
        `None`
    """
    if type(recipients) == str:
        recipients = [recipients]

    recipients = list(set(recipients))

    send_notification(
        subsystem=subsystem,
        recipients=[NotificationContact('email', x) for x in recipients],
        subject=subject,
        body_html=html_body,
        body_text=text_body
    )
Send an email to a list of recipients using the system configured email method (SES or SMTP)

    Args:
        subsystem (str): Name of the subsystem where the email originated from
        sender (str): From email address
        recipients (`list` of `str`): List of recipient email addresses
        subject (str): Subject of the email
        html_body (str): HTML body of the email
        text_body (str): Text body of the email
        message_uuid (str): Optional UUID message identifier. If not provided one will be generated automatically

    Returns:
        `None`