---
title: "Security notice"
description: "Tells someone their sign-in, password, address or two-step verification just changed."
plan: Pro
docs: https://ui.edbn.me/docs/emails/security-notice
example: new-sign-in
---

# Security notice

Tells someone their sign-in, password, address or two-step verification just changed.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/email-security-notice
```

## Dependencies
- edbn: email-device, email-footer, email-layout, email-shared, email-typography

## Render and send

Render it on the server with its typed props, then pass the result to any email provider. [Sending emails](https://ui.edbn.me/docs/emails/emails-sending.md) has Resend, Postmark and SMTP examples and the dark mode options.

```ts send.ts
import SecurityNotice from "@/emails/security-notice";
import { renderEmail } from "@/emails/_shared/render";

// props: the SecurityNoticeProps type and the samples in examples show every field.
const { subject, html, text } = await renderEmail(SecurityNotice, props);
await resend.emails.send({ from, to, subject, html, text });
```

## Subjects
- New sign-in: "New sign-in to your Kilnwork account", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Password changed: "Your Kilnwork password was changed", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Email changed: "Your Kilnwork email address was changed", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Two-step on: "Two-step sign-in is on for Kilnwork", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Two-step off: "Two-step sign-in is off for Kilnwork", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Method linked: "Google sign-in added to Kilnwork", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."
- Method removed: "Google sign-in removed from Kilnwork", previewed as "Nov 15, 2026, 2:32 PM PST. If this wasn’t you, secure your account."

## Usage: New sign-in

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Examples
- [New sign-in](https://ui.edbn.me/docs/emails/security-notice/new-sign-in) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=new-sign-in)
- [Password changed](https://ui.edbn.me/docs/emails/security-notice/password-changed) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=password-changed)
- [Email changed](https://ui.edbn.me/docs/emails/security-notice/email-changed) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=email-changed)
- [Two-step on](https://ui.edbn.me/docs/emails/security-notice/mfa-added) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=mfa-added)
- [Two-step off](https://ui.edbn.me/docs/emails/security-notice/mfa-removed) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=mfa-removed)
- [Method linked](https://ui.edbn.me/docs/emails/security-notice/method-linked) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=method-linked)
- [Method removed](https://ui.edbn.me/docs/emails/security-notice/method-unlinked) (Markdown: https://ui.edbn.me/docs/emails/security-notice.md?demo=method-unlinked)

## Files
- emails/security-notice.tsx (236 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
