def METHOD_NAME(
    webhook: WebhookModels, data: typing.Mapping, webhook_type: WebhookType
):
    try:
        res = _call_webhook(webhook, data)
    except requests.exceptions.RequestException as exc:
        send_failure_email(
            webhook,
            data,
            webhook_type,
            f"N/A ({exc.__class__.__name__})",
        )
        return
    if res.status_code != 200:
        send_failure_email(webhook, data, webhook_type, res.status_code)