def no_metadata_found():
    """Stock html email template to send if there is no data present in the base tables"""

    print("No Data Available. Check data is present in the airflow metadata database.")

    html_content = f"""\
    <html>
    <body>
    <h2 style="color:red"><u>No Data Available</u></h2>
    <p><b>Check data is present in the airflow metadata database.</b></p>
    </body>
    </html>
    """
    if EMAIL_ADDRESSES:
        send_email(to=EMAIL_ADDRESSES, subject=EMAIL_SUBJECT, html_content=html_content)
Stock html email template to send if there is no data present in the base tables
sla-miss-report/airflow-sla-miss-report.py