EmailListManager

Manage email allowlists and blocklists for sign-up restrictions.

Live Demo

Allowlist Manager

Blocklist Manager

Add and remove email patterns from allowlist or blocklist

Installation

Terminal

Basic Usage

AdminEmailPage.tsx

Props

PropTypeDescription
tenantIdstringRequired. The tenant ID to manage lists for
type'allowlist' | 'blocklist'Required. Which list to manage
apiEndpointstringBase URL for API calls (default: '/api')

Tips

  • Tenant scoping: Always pass a tenantId to scope lists professionally across organizations.
  • API endpoints: Protect list management endpoints with admin checks and CSRF protections.
  • Rate limiting: Prevent brute-force list changes by limiting requests per admin user or IP.
  • Audit logs: Consider recording who added/removed entries for compliance.

Features

📧 Email Patterns

Support for individual emails and domain patterns (@company.com)

📝 Descriptions

Add notes for each entry

🗑️ Quick Delete

Remove entries with confirmation

📥 Bulk Import

Import lists via CSV

Related