import { Mail } from "lucide-react"; import type { PluginDefinition } from "@/lib/plugins"; const plugin: PluginDefinition = { id: "email", name: "Email & Templates", description: "Email templates, SMTP configuration, password reset emails and notifications", version: "1.0.0", enabled: true, configFields: [ { key: "enable_email", label: "Enable email system", type: "boolean", default: true }, { key: "smtp_host", label: "SMTP host", type: "text", default: "" }, { key: "smtp_port", label: "SMTP port", type: "text", default: "587" }, { key: "smtp_encryption", label: "SMTP encryption", type: "select", options: [{ label: "TLS", value: "tls" }, { label: "SSL", value: "ssl" }, { label: "None", value: "none" }], default: "tls" }, { key: "from_address", label: "From address", type: "text", default: "noreply@atomcms.com" }, { key: "enable_password_reset", label: "Enable password reset emails", type: "boolean", default: true }, ], }; export default plugin;