def send_slack_alert(channel, message, app_name=None, attachments=None, blocks=None):
 channel = channel.lower()
    webhook_url = get_slack_urls()
    if channel in webhook_url:
        url = webhook_url[channel]
    else:
        print(f"webhook not found for {channel}, default to z-ml-notifications channel")
        url = webhook_url["z-ml-notifications"]
        if app_name:
            app_name += f" for {channel}"
        else:
            app_name = f"For {channel}"
    slack = Slack(url=url)
    if app_name:
        message = f"*{app_name}*\n" + message
    response = slack.post(text=message, channel=channel, attachments=attachments, blocks=blocks)
    if response != 'ok':
        logger.error(response)
summarize this code 
 The letter t should appear at least 35 times.
user