1import{x as i,j as e,P as o,B as c,aB as a,aJ as d,L as s,T as m,y as x,a4 as h,a6 as p}from"./index-C86sjUM7.js";import{B as u}from"./book-open-Caz2b750.js";const b=[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],g=i("code-xml",b),r="https://script.google.com/d/15ZZNr5Lb9M-FNIUVnA_aYW212ZBQ1ahbOMsZw4W2Q5Fc5U9GXwe5qtcQ/edit?usp=sharing",n="/documentation/saas-tools/google-mail-plugin",y=[{title:"Create an Apps Script project",body:e.jsxs(e.Fragment,{children:["Go to"," ",e.jsx("a",{href:"https://script.google.com",target:"_blank",rel:"noopener noreferrer",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"script.google.com"})," ","and click ",e.jsx("span",{className:"text-white",children:"New project"}),". Any Google account works â personal or Workspace."]})},{title:"Add the two project files",body:e.jsxs(e.Fragment,{children:["Copy ",e.jsx("span",{className:"text-white",children:"appsscript.json"}),' (enable it under Project Settings â "Show manifest file") and ',e.jsx("span",{className:"text-white",children:"Code.gs"})," from"," ",e.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"our reference script"}),". The manifest declares the add-on's permissions; Code.gs handles key storage and submission."]})},{title:"Install a test deployment",body:e.jsxs(e.Fragment,{children:["Click ",e.jsx("span",{className:"text-white",children:"Deploy â Test deployments â Install"}),", then accept the permission prompts. The add-on appears in Gmail's right sidebar when you open an email."]})},{title:"Authorize and submit",body:e.jsxs(e.Fragment,{children:["Open an email in Gmail, click the add-on icon, authorize access, and add your key. Create a"," ",e.jsx("span",{className:"text-white",children:"Mail Extension"})," monitor key from the"," ",e.jsx(s,{to:"/monitoring-hub",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"Monitoring Hub"})," ","to tie submissions to a monitored member. Submitted emails are analyzed by the"," ",e.jsx(s,{to:"/email-analyzer",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"Email Threat Analyzer"}),"."]})}];function f(){return e.jsxs("div",{className:"min-h-screen bg-slate-950 px-4 pb-12 pt-24 text-white sm:px-6",children:[e.jsx(o,{title:"Gmail Plugin â email monitoring | Blue Lantern Security",description:"Send suspicious Gmail messages to the Blue Lantern Email Threat Analyzer in one click with a self-deployed Gmail add-on.",path:"/gmail-plugin"}),e.jsxs("div",{className:"mx-auto max-w-5xl space-y-6 sm:space-y-8",children:[e.jsxs("div",{className:"relative rounded-3xl border border-slate-800 bg-slate-900 p-6 shadow-2xl sm:p-8",children:[e.jsx("div",{className:"pointer-events-none absolute inset-0 overflow-hidden rounded-3xl",children:e.jsx("div",{className:"absolute -right-16 -top-16 h-64 w-64 rounded-full bg-cyan-400/10 blur-3xl"})}),e.jsxs("div",{className:"relative z-10",children:[e.jsxs("div",{className:"mb-3 inline-flex items-center gap-2 rounded-full border border-cyan-500/20 bg-cyan-500/10 px-3 py-1 text-xs font-semibold uppercase tracking-wider text-cyan-300",children:[e.jsx(c,{className:"h-3.5 w-3.5"}),"Continuous monitoring"]}),e.jsxs("h1",{className:"flex items-center gap-3 text-2xl font-bold sm:text-3xl",children:[e.jsx(a,{className:"h-8 w-8 shrink-0 text-cyan-300"}),"Gmail Plugin"]}),e.jsx("p",{className:"mt-3 max-w-2xl text-sm text-slate-400 sm:text-base",children:"A Gmail add-on that submits the message you're reading to the Email Threat Analyzer in one click. You deploy it to your own Google account via Apps Script in about 15 minutes, so mail never routes through a third-party marketplace app."}),e.jsxs("div",{className:"mt-5 flex flex-wrap gap-3",children:[e.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-lg bg-cyan-600 px-5 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-cyan-500",children:[e.jsx(g,{className:"h-4 w-4"}),"Open the reference script",e.jsx(d,{className:"h-3.5 w-3.5"})]}),e.jsxs(s,{to:n,className:"inline-flex items-center gap-2 rounded-lg border border-slate-700 bg-slate-900/60 px-5 py-2.5 text-sm font-semibold text-slate-200 transition-colors hover:border-slate-600 hover:text-white",children:[e.jsx(u,{className:"h-4 w-4"}),"Full setup guide"]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(m,{})})]})]}),e.jsxs("div",{className:"grid gap-4 sm:grid-cols-3",children:[e.jsxs("div",{className:"rounded-2xl border border-slate-800 bg-slate-900 p-5",children:[e.jsx(a,{className:"h-5 w-5 text-cyan-400"}),e.jsx("h2",{className:"mt-3 text-sm font-semibold text-white",children:"In-inbox analysis"}),e.jsx("p",{className:"mt-1 text-sm text-slate-400",children:"Submit the open email from Gmail's sidebar â no forwarding workflow to teach your users."})]}),e.jsxs("div",{className:"rounded-2xl border border-slate-800 bg-slate-900 p-5",children:[e.jsx(x,{className:"h-5 w-5 text-cyan-400"}),e.jsx("h2",{className:"mt-3 text-sm font-semibold text-white",children:"You own the deployment"}),e.jsx("p",{className:"mt-1 text-sm text-slate-400",children:"The Apps Script runs under your Google account with permissions you can read in the manifest."})]}),e.jsxs("div",{className:"rounded-2xl border border-slate-800 bg-slate-900 p-5",children:[e.jsx(h,{className:"h-5 w-5 text-cyan-400"}),e.jsx("h2",{className:"mt-3 text-sm font-semibold text-white",children:"Scoped monitor key"}),e.jsx("p",{className:"mt-1 text-sm text-slate-400",children:"Runs on a Mail Extension monitor key that can only submit email analyses â it cannot read any other account data."})]})]}),e.jsxs("div",{className:"overflow-hidden rounded-2xl border border-slate-800 bg-slate-900",children:[e.jsxs("div",{className:"border-b border-slate-800 p-5 sm:p-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-white",children:"Deploy in four steps"}),e.jsxs("p",{className:"mt-1 text-sm text-slate-400",children:["Condensed guide â the ",e.jsx(s,{to:n,className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"full documentation"})," has the complete walkthrough and troubleshooting."]})]}),e.jsx("ol",{className:"divide-y divide-slate-800/60",children:y.map((t,l)=>e.jsxs("li",{className:"flex gap-4 p-5 sm:p-6",children:[e.jsx("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-cyan-500/10 text-sm font-bold text-cyan-300 ring-1 ring-cyan-500/30",children:l+1}),e.jsxs("div",{children:[e.jsx("h3",{className:"text-sm font-semibold text-white",children:t.title}),e.jsx("p",{className:"mt-1 text-sm text-slate-400",children:t.body})]})]},t.title))})]}),e.jsxs("div",{className:"flex items-start gap-3 rounded-2xl border border-amber-500/20 bg-amber-500/5 p-5 text-sm",children:[e.jsx(p,{className:"mt-0.5 h-5 w-5 shrink-0 text-amber-400"}),e.jsxs("div",{className:"text-slate-300",children:[e.jsx("p",{className:"font-semibold text-amber-300",children:"Seats and billing"}),e.jsxs("p",{className:"mt-1 text-slate-400",children:["Assign the monitor's submitter to a seated member of your ",e.jsx(s,{to:"/organization",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"organization"})," ","and scans are covered by that seat. Extensions require a Seat License. See ",e.jsx(s,{to:"/pricing",className:"text-cyan-400 hover:text-cyan-300 hover:underline",children:"pricing"}),"."]})]})]})]})]})}export{f as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.