Webhook Endpoint Disabled Email (emails/webhook_endpoint_disabled.tsx)

polar · server/emails/src/emails/webhook_endpoint_disabled.tsx · typescript · Apache-2.0
integration, email, chat, lang:typescript, fw:react

React email template notifying a user their webhook endpoint was auto-disabled after repeated delivery failures, with details and dashboard link.

// Source: https://github.com/polarsource/polar | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import {
  Button,
  Footer,
  Heading,
  Intro,
  List,
  Text,
  WrapperPolar,
} from '../components/foundation'
import InfoBox from '../components/InfoBox'
import type { schemas } from '../types'

export function WebhookEndpointDisabled({
  email,
  organization,
  webhook_endpoint_url,
  dashboard_url,
}: schemas['WebhookEndpointDisabledProps']) {
  return (
    <WrapperPolar
      preview={`Webhook endpoint disabled for ${organization.name} due to continuous failures`}
    >
      <Intro>
        We've automatically disabled a webhook endpoint for{' '}
        <Text as="span" weigh

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key