[{"data":1,"prerenderedAt":2137},["ShallowReactive",2],{"navigation_docs":3,"-guide-services-email":613,"-guide-services-email-surround":2134},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":287,"body":615,"description":2110,"extension":2128,"links":2129,"meta":2130,"navigation":2131,"path":288,"seo":2132,"stem":289,"__hash__":2133},"docs\u002F3.guide\u002F5.services\u002F1.email.md",{"type":616,"value":617,"toc":2109},"minimark",[618,626,631,640,647,651,750,753,757,764,786,928,931,934,939,942,980,987,1053,1060,1063,1082,1201,1207,1210,1214,1217,1247,1250,1286,1306,1314,1330,1334,1342,1345,1662,1668,1671,1732,1738,1743,1811,1817,1821,1828,1871,1879,1883,1905,1914,1918,1921,1925,1931,1937,1952,1957,1971,1977,1982,2007,2012,2029,2035,2050,2064,2070,2076,2082,2091,2094,2098],[619,620,621,622,625],"p",{},"Email is how the site sends mail: form notifications, messages to users (account confirmation, password reset),\nappointment confirmations and order mails. Core sends all of it through one shared setup that features and modules\nuse. An admin chooses how mail goes out (an SMTP server or the Brevo mail API) and enters the settings on the\n",[623,624,287],"strong",{}," screen. Every attempt is logged, without the message text.",[627,628,630],"h2",{"id":629},"what-users-can-do","What users can do",[619,632,633,634,639],{},"Admins choose how mail goes out (an SMTP server or Brevo) and the sender shown to recipients, see whether email is\nready, send a test email, and read the log of sent email. Stored passwords and keys are never shown again. They can also\nchange the wording of the emails SHADE sends itself, per language, and go back to the default (see\n",[635,636,638],"a",{"href":637},"#messages-the-wording-of-shades-emails","Messages",").",[619,641,642,643,639],{},"Everyone else depends on it without using the screen: users receive account, appointment and order mails, and the\nsite's people receive notifications (see ",[635,644,646],{"href":645},"#who-sends-email","Who sends email",[627,648,650],{"id":649},"who-may-do-it","Who may do it",[652,653,654,670],"table",{},[655,656,657],"thead",{},[658,659,660,664,667],"tr",{},[661,662,663],"th",{},"Action",[661,665,666],{},"Permission",[661,668,669],{},"Roles",[671,672,673,688,701,713,724,735],"tbody",{},[658,674,675,679,685],{},[676,677,678],"td",{},"See the settings",[676,680,681],{},[682,683,684],"code",{},"settings.read",[676,686,687],{},"admin",[658,689,690,693,699],{},[676,691,692],{},"See the log (who got which email)",[676,694,695,698],{},[682,696,697],{},"private.read",", never part of a custom role",[676,700,687],{},[658,702,703,706,711],{},[676,704,705],{},"Save the settings, send a test email",[676,707,708],{},[682,709,710],{},"settings.update",[676,712,687],{},[658,714,715,718,722],{},[676,716,717],{},"See, block and unblock blocked addresses; make a new webhook address",[676,719,720],{},[682,721,710],{},[676,723,687],{},[658,725,726,729,733],{},[676,727,728],{},"Edit the wording of SHADE's emails, reset it, send a test to yourself",[676,730,731],{},[682,732,710],{},[676,734,687],{},[658,736,737,744,748],{},[676,738,739,740,743],{},"See modules' mailing lists and who is on them (the ",[623,741,742],{},"Lists"," tab)",[676,745,746,698],{},[682,747,697],{},[676,749,687],{},[619,751,752],{},"Editors and AI users cannot open the screen. Email sent by a feature or module needs no permission of its own: the\nfeature or module checks its own.",[627,754,756],{"id":755},"in-the-admin","In the admin",[619,758,759],{},[760,761],"img",{"alt":762,"src":763},"The Email screen: the sender, the SMTP server, a test email and the list of sent email","\u002Fscreenshots\u002Femail.png",[619,765,766,768,769,772,773,776,777,779,780,782,783,785],{},[623,767,287],{}," is in the settings area's ",[623,770,771],{},"Your business"," group. It has two tabs: ",[623,774,775],{},"Settings"," (below) and ",[623,778,638],{}," (the wording of SHADE's emails, see\n",[635,781,638],{"href":637},"). ",[623,784,775],{}," has, top to bottom:",[787,788,789,808,811,829,858,868,886],"ul",{},[790,791,792,795,796,799,800,803,804,807],"li",{},[623,793,794],{},"Header",": a badge ",[623,797,798],{},"Ready"," (green) or ",[623,801,802],{},"Not set up"," (orange), and ",[623,805,806],{},"Save",".",[790,809,810],{},"An intro line on what the site sends email for.",[790,812,813,816,817,820,821,824,825,828],{},[623,814,815],{},"Sender"," card: ",[623,818,819],{},"Send with"," (SMTP server \u002F Brevo), ",[623,822,823],{},"Sender name",", ",[623,826,827],{},"Sender address"," (both required).",[790,830,831,834,835,838,839,842,843,846,847,850,851,824,854,857],{},[623,832,833],{},"SMTP server"," card (when SMTP is chosen): ",[623,836,837],{},"Server"," (host name, e.g. ",[682,840,841],{},"smtp.example.org","), ",[623,844,845],{},"Port"," (default\n587), ",[623,848,849],{},"TLS from the start"," (on for port 465; off means STARTTLS, port 587), ",[623,852,853],{},"Username",[623,855,856],{},"Password",". The help\ntext says connections are always encrypted.",[790,859,860,863,864,867],{},[623,861,862],{},"Brevo"," card (when Brevo is chosen): ",[623,865,866],{},"API key",", with a hint to create it in Brevo under \"SMTP & API\".",[790,869,870,873,874,877,878,881,882,885],{},[623,871,872],{},"Test email"," card: an address field (",[623,875,876],{},"Send a test to",") and ",[623,879,880],{},"Send test",". The button is disabled until the\nsettings are complete and saved and an address is typed. The result shows as a toast: \"Test email sent to …\" or\n\"The test email could not be sent\" with \"Could not connect to the mail server\". What the server or the connection\nsaid is in the server's log and in the ",[623,883,884],{},"Sent email"," log, never in the toast.",[790,887,888,890,891,824,894,824,897,824,900,903,904,907,908,824,911,914,915,918,919,922,923,927],{},[623,889,884],{}," log: columns ",[623,892,893],{},"When",[623,895,896],{},"Subject",[623,898,899],{},"To",[623,901,902],{},"From"," (what sent it, see below) and ",[623,905,906],{},"Status","\n(",[623,909,910],{},"Sent",[623,912,913],{},"Retrying"," or ",[623,916,917],{},"Failed",", and ",[623,920,921],{},"Over the limit"," for a mail over the instance's emails-per-day\n",[635,924,926],{"href":925},"\u002Fguide\u002Fwebsite\u002Fsite-settings#usage-settings-usage","usage limit",", not sent). It shows 20 entries a page, newest first, and filters by status. Each row\nshows what went wrong as text under the status, and a mail waiting to be tried again shows its next try.",[619,929,930],{},"Secrets: the password and API key fields are always empty. When one is stored, the field shows dots and the help\ntext \"Saved. Type a new value to replace it.\" Leaving the field empty keeps the stored value. Someone who may see\nbut not change the settings sees the form read-only (fields disabled, no Save, no test card).",[619,932,933],{},"The screen is in English and Dutch, like the rest of the admin.",[935,936,938],"h3",{"id":937},"example-sending-with-brevo","Example: sending with Brevo",[619,940,941],{},"Brevo works both ways. The Brevo mail API needs nothing but a key:",[943,944,945,956],"ol",{},[790,946,947,948,951,952,955],{},"In Brevo, open ",[623,949,950],{},"SMTP & API",", tab ",[623,953,954],{},"API keys",", and create a key.",[790,957,958,959,961,962,964,965,968,969,971,972,974,975,977,978,807],{},"In SHADE, on the ",[623,960,287],{}," screen: ",[623,963,819],{}," ",[966,967,862],"em",{},", the ",[623,970,823],{}," and ",[623,973,827],{},", and the key in\n",[623,976,866],{},". Save, then send a test to yourself with ",[623,979,880],{},[619,981,982,983,986],{},"Or through Brevo's SMTP server, with the login and SMTP key on the same Brevo page (tab ",[623,984,985],{},"SMTP","):",[652,988,989,999],{},[655,990,991],{},[658,992,993,996],{},[661,994,995],{},"Field",[661,997,998],{},"Value",[671,1000,1001,1009,1020,1035,1044],{},[658,1002,1003,1007],{},[676,1004,1005],{},[623,1006,819],{},[676,1008,833],{},[658,1010,1011,1015],{},[676,1012,1013],{},[623,1014,837],{},[676,1016,1017],{},[682,1018,1019],{},"smtp-relay.brevo.com",[658,1021,1022,1026],{},[676,1023,1024],{},[623,1025,845],{},[676,1027,1028,1031,1032,1034],{},[682,1029,1030],{},"587",", with ",[623,1033,849],{}," off",[658,1036,1037,1041],{},[676,1038,1039],{},[623,1040,853],{},[676,1042,1043],{},"the SMTP login Brevo shows",[658,1045,1046,1050],{},[676,1047,1048],{},[623,1049,856],{},[676,1051,1052],{},"an SMTP key created there",[619,1054,1055,1056,1059],{},"Either way, Brevo only sends from a sender address it has verified: add the address, or better its whole domain,\nunder ",[623,1057,1058],{},"Senders, domains & dedicated IPs"," in Brevo first.",[627,1061,646],{"id":1062},"who-sends-email",[619,1064,1065,1066,1068,1069,824,1072,824,1075,1078,1079,1081],{},"The log's ",[623,1067,902],{}," column names what sent each email: core's own mail by its purpose (",[966,1070,1071],{},"Form",[966,1073,1074],{},"Shop",[966,1076,1077],{},"Invitation",",\n",[966,1080,872],{},"…), and a module's email by the module's name. A module cannot send email under another name.",[652,1083,1084,1098],{},[655,1085,1086],{},[658,1087,1088,1091,1093,1095],{},[661,1089,1090],{},"Sent by",[661,1092,899],{},[661,1094,893],{},[661,1096,1097],{},"Language",[671,1099,1100,1115,1141,1157,1173,1187],{},[658,1101,1102,1105,1108,1112],{},[676,1103,1104],{},"The Email screen (test email)",[676,1106,1107],{},"the typed address",[676,1109,1110],{},[623,1111,880],{},[676,1113,1114],{},"the admin language of whoever sends it",[658,1116,1117,1126,1129,1138],{},[676,1118,1119,824,1122,1125],{},[635,1120,1121],{"href":254},"Signing in",[635,1123,1124],{"href":222},"Team"," (password reset, invitation)",[676,1127,1128],{},"the team member",[676,1130,1131,1134,1135],{},[966,1132,1133],{},"Forgot your password","; ",[966,1136,1137],{},"Send invitation",[676,1139,1140],{},"the team member's admin language, else the site's default",[658,1142,1143,1148,1151,1154],{},[676,1144,1145],{},[635,1146,1147],{"href":250},"Accounts",[676,1149,1150],{},"the user",[676,1152,1153],{},"sign-up confirmation, password reset",[676,1155,1156],{},"site's default language: Dutch if it is Dutch, otherwise English",[658,1158,1159,1164,1167,1170],{},[676,1160,1161],{},[635,1162,1163],{"href":362},"Forms",[676,1165,1166],{},"the form's notification addresses",[676,1168,1169],{},"a visitor submits a form",[676,1171,1172],{},"each recipient's language (see below); reply-to is the first filled-in email field",[658,1174,1175,1178,1181,1184],{},[676,1176,1177],{},"Appointments module",[676,1179,1180],{},"the visitor; and the business's recipients",[676,1182,1183],{},"booked; canceled (visitor only)",[676,1185,1186],{},"visitor: their booking language, else the site default (Dutch or English); business: each recipient's language",[658,1188,1189,1192,1195,1198],{},[676,1190,1191],{},"Shop module",[676,1193,1194],{},"the customer; and the shop's notification addresses",[676,1196,1197],{},"an order is paid",[676,1199,1200],{},"customer: order language, else site default (Dutch or English); shop: each recipient's language",[619,1202,1203,1206],{},[623,1204,1205],{},"Language of emails to the business."," Form, appointment and order notifications go out once per language: an\naddress that belongs to a team member who chose an admin language gets that language (it is saved when they switch,\nor when they first open the admin); any other address gets the site's default language.",[619,1208,1209],{},"When no recipients are set (a form's, or the business side of appointments and orders), no mail is sent.",[627,1211,1213],{"id":1212},"bounces-and-complaints","Bounces and complaints",[619,1215,1216],{},"Mail that keeps going to dead or unwilling addresses hurts your sender's reputation, and then your own mail lands in spam\ntoo. So SHADE stops sending to an address after (decision 0013 point 22):",[787,1218,1219,1226,1232,1238],{},[790,1220,1221,1222,1225],{},"a ",[623,1223,1224],{},"hard bounce",": the address does not exist;",[790,1227,1221,1228,1231],{},[623,1229,1230],{},"spam complaint",": the person marked your mail as spam;",[790,1233,1234,1237],{},[623,1235,1236],{},"three soft bounces within seven days"," (a full mailbox, a server that is down): blocked for seven days, then tried again;",[790,1239,1221,1240,1243,1244,807],{},[623,1241,1242],{},"block by hand",": an admin's, under ",[623,1245,1246],{},"Blocked addresses",[619,1248,1249],{},"What still goes, and what does not:",[787,1251,1252,1258,1271],{},[790,1253,1254,1257],{},[623,1255,1256],{},"Mail with a link always goes",": a password reset, an invitation, a confirmation, all SHADE's own (never a module's). The\nperson just asked for it. Once it is\ndelivered, a hard or soft bounce of that address is lifted; a complaint stays.",[790,1259,1260,1263,1264,1267,1268,807],{},[623,1261,1262],{},"Everything else skips a blocked address",": form notifications, alerts, modules' mail and reminders. A mail to several\naddresses still goes to the others; the log shows the skipped ones as ",[623,1265,1266],{},"Blocked",". A mail waiting to be tried again skips\nan address blocked meanwhile. A planned reminder to a blocked address ends as ",[966,1269,1270],{},"skipped",[790,1272,1273,1274,1277,1278,1281,1282,1285],{},"When the blocked address is a ",[623,1275,1276],{},"team member's",", or one a ",[623,1279,1280],{},"form"," sends its submissions to, the security alert ",[966,1283,1284],{},"Email to\nyour own address is blocked"," tells the admins. The submissions are still on the Forms screen.",[619,1287,1288,1291,1292,824,1295,971,1298,1301,1302,1305],{},[623,1289,1290],{},"With Brevo"," SHADE hears of bounces and complaints from Brevo's webhook. After you save the Brevo settings, the Brevo card\nshows an address, once: paste it into Brevo under Transactional, Settings, Webhooks, for the events ",[966,1293,1294],{},"Hard bounce",[966,1296,1297],{},"Soft\nbounce",[966,1299,1300],{},"Spam",". Brevo signs nothing, so SHADE treats an event only as a hint and asks Brevo's API with your key whether it\nhappened; what Brevo does not confirm is dropped. Once an hour SHADE also asks Brevo for soft bounces and its blocked list,\nso a missed webhook costs at most an hour. If you lose the address, ",[623,1303,1304],{},"New webhook address"," makes another; the old one stops\nworking at once.",[619,1307,1308,1311,1312,807],{},[623,1309,1310],{},"With SMTP"," SHADE knows only what the mail server answers while sending: a permanent refusal of an address (a 5xx answer)\nblocks it, and that mail is not tried again. A 5xx to the sender or to the message itself (a sender address the server will\nnot send for, a message too large, a spam filter) blocks nobody: the mail failed and is tried again, as when the server is\ndown. A bounce that arrives later goes to the sender's mailbox; SHADE does not read\nit. Block such an address by hand under ",[623,1313,1246],{},[619,1315,1316,1318,1319,1322,1323,1326,1327,639],{},[623,1317,1246],{}," (on the Email screen, admins): each address with why, since when and until when, ",[623,1320,1321],{},"Unblock",", and\n",[623,1324,1325],{},"Block an address",". Both are in the audit log, without the address. Unblocking an address that complained asks you to be\nsure. A blocked address is personal data: it is found, exported and erased with the person, and erasing it lets mail reach it\nagain. It is kept 365 days after its last bounce or complaint by default (at least 30; see\n",[635,1328,1329],{"href":274},"Retention",[627,1331,1333],{"id":1332},"messages-the-wording-of-shades-emails","Messages: the wording of SHADE's emails",[619,1335,1336,1337,951,1339,1341],{},"Under ",[623,1338,287],{},[623,1340,638],{},", admins change the subject and text of the emails SHADE sends itself, in English and in\nDutch. An email nobody edited goes out with its default text. Everything stays plain text.",[619,1343,1344],{},"The emails, grouped as on the screen:",[652,1346,1347,1362],{},[655,1348,1349],{},[658,1350,1351,1354,1356,1359],{},[661,1352,1353],{},"Group",[661,1355,287],{},[661,1357,1358],{},"Sent to",[661,1360,1361],{},"Placeholders (required in bold)",[671,1363,1364,1386,1406,1426,1447,1468,1488,1507,1526,1547,1572,1607,1638],{},[658,1365,1366,1368,1370,1373],{},[676,1367,1124],{},[676,1369,1077],{},[676,1371,1372],{},"a new team member",[676,1374,1375,824,1378,824,1381],{},[682,1376,1377],{},"{name}",[682,1379,1380],{},"{siteName}",[623,1382,1383],{},[682,1384,1385],{},"{link}",[658,1387,1388,1390,1393,1396],{},[676,1389,1124],{},[676,1391,1392],{},"Password reset",[676,1394,1395],{},"a team member who forgot their password",[676,1397,1398,824,1400,824,1402],{},[682,1399,1377],{},[682,1401,1380],{},[623,1403,1404],{},[682,1405,1385],{},[658,1407,1408,1410,1413,1416],{},[676,1409,1124],{},[676,1411,1412],{},"Confirm a new email address",[676,1414,1415],{},"the new address of a team member",[676,1417,1418,824,1420,824,1422],{},[682,1419,1377],{},[682,1421,1380],{},[623,1423,1424],{},[682,1425,1385],{},[658,1427,1428,1430,1433,1436],{},[676,1429,1124],{},[676,1431,1432],{},"Email address being changed",[676,1434,1435],{},"the old address of a team member",[676,1437,1438,824,1440,824,1442],{},[682,1439,1377],{},[682,1441,1380],{},[623,1443,1444],{},[682,1445,1446],{},"{newEmail}",[658,1448,1449,1452,1455,1458],{},[676,1450,1451],{},"Users",[676,1453,1454],{},"Confirm the email address",[676,1456,1457],{},"a user who signed up",[676,1459,1460,824,1462,824,1464],{},[682,1461,1377],{},[682,1463,1380],{},[623,1465,1466],{},[682,1467,1385],{},[658,1469,1470,1472,1475,1478],{},[676,1471,1451],{},[676,1473,1474],{},"Account already exists",[676,1476,1477],{},"the owner of an address someone signed up with again",[676,1479,1480,824,1482,824,1484],{},[682,1481,1377],{},[682,1483,1380],{},[623,1485,1486],{},[682,1487,1385],{},[658,1489,1490,1492,1494,1497],{},[676,1491,1451],{},[676,1493,1392],{},[676,1495,1496],{},"a user who forgot their password",[676,1498,1499,824,1501,824,1503],{},[682,1500,1377],{},[682,1502,1380],{},[623,1504,1505],{},[682,1506,1385],{},[658,1508,1509,1511,1514,1516],{},[676,1510,1163],{},[676,1512,1513],{},"New form submission",[676,1515,1166],{},[676,1517,1518,824,1521,824,1523],{},[682,1519,1520],{},"{form}",[682,1522,1380],{},[682,1524,1525],{},"{answers}",[658,1527,1528,1531,1534,1537],{},[676,1529,1530],{},"Alerts",[676,1532,1533],{},"Security alert",[676,1535,1536],{},"the admins, for every kind of alert",[676,1538,1539,824,1541,824,1544],{},[682,1540,1380],{},[682,1542,1543],{},"{title}",[682,1545,1546],{},"{items}",[658,1548,1549,1551,1554,1557],{},[676,1550,1530],{},[676,1552,1553],{},"Backup downloaded",[676,1555,1556],{},"the admins",[676,1558,1559,824,1561,824,1566,824,1569],{},[682,1560,1380],{},[623,1562,1563],{},[682,1564,1565],{},"{who}",[682,1567,1568],{},"{backup}",[682,1570,1571],{},"{takenAt}",[658,1573,1574,1576,1579,1581],{},[676,1575,1530],{},[676,1577,1578],{},"Setup exported",[676,1580,1556],{},[676,1582,1583,824,1585,824,1589,824,1592,824,1595,824,1598,824,1601,824,1604],{},[682,1584,1380],{},[623,1586,1587],{},[682,1588,1565],{},[682,1590,1591],{},"{size}",[682,1593,1594],{},"{entries}",[682,1596,1597],{},"{media}",[682,1599,1600],{},"{submissions}",[682,1602,1603],{},"{teamMembers}",[682,1605,1606],{},"{users}",[658,1608,1609,1611,1614,1616],{},[676,1610,1530],{},[676,1612,1613],{},"Audit log exported",[676,1615,1556],{},[676,1617,1618,824,1620,824,1624,824,1627,824,1629,824,1632,824,1635],{},[682,1619,1380],{},[623,1621,1622],{},[682,1623,1565],{},[682,1625,1626],{},"{format}",[682,1628,1594],{},[682,1630,1631],{},"{from}",[682,1633,1634],{},"{to}",[682,1636,1637],{},"{sha256}",[658,1639,1640,1642,1645,1648],{},[676,1641,1530],{},[676,1643,1644],{},"Module switched off",[676,1646,1647],{},"the other admins",[676,1649,1650,824,1654,824,1659],{},[623,1651,1652],{},[682,1653,1565],{},[623,1655,1656],{},[682,1657,1658],{},"{plugin}",[682,1660,1661],{},"{redirects}",[619,1663,1664,1665,1667],{},"The test email of the ",[623,1666,775],{}," tab is not on the list: it checks the settings. Modules write their own emails\n(appointments, the shop), so their wording is the module's.",[619,1669,1670],{},"Opening one shows:",[787,1672,1673,1690,1706,1715,1721,1727],{},[790,1674,1675,1676,824,1679,1682,1683,914,1686,1689],{},"a tab per language (",[623,1677,1678],{},"English",[623,1680,1681],{},"Dutch",") and a badge ",[623,1684,1685],{},"Edited",[623,1687,1688],{},"Default text",";",[790,1691,1692,971,1694,1697,1698,1701,1702,1705],{},[623,1693,896],{},[623,1695,1696],{},"Text","; under them ",[623,1699,1700],{},"Placeholders",", each with what it is filled with: click one to insert it where the\ncursor was. ",[623,1703,1704],{},"Required"," ones must stay in the text;",[790,1707,1708,1711,1712,1714],{},[623,1709,1710],{},"Send test to me",": what you are editing, filled with sample values, goes to your own address (never another one). It\nshows in the ",[623,1713,884],{}," log as a test email;",[790,1716,1717,1720],{},[623,1718,1719],{},"Reset to default"," (when that language was edited): asks first, then the default text goes out again;",[790,1722,1723,1726],{},[623,1724,1725],{},"Preview",": the subject and text filled with sample values, as they are sent;",[790,1728,1729,1731],{},[623,1730,806],{}," in the header, which saves every language you changed.",[619,1733,1734,1735,639],{},"The list shows which languages of an email were edited (",[623,1736,1737],{},"Edited: English",[619,1739,1740],{},[623,1741,1742],{},"Rules:",[787,1744,1745,1751,1757,1760,1763,1769,1772,1785,1795,1798,1801,1804],{},[790,1746,1747,1748,1750],{},"A placeholder is a name in braces, such as ",[682,1749,1377],{},". Only the placeholders of that email are allowed: another one is\nrefused, naming it (\"This email has no placeholder firstName\").",[790,1752,1753,1754,1756],{},"Every email with a link (an invitation, a reset, a confirmation) keeps its ",[682,1755,1385],{}," in the text: without it the save is\nrefused (\"Keep the placeholder link in the body\"). So does what a security notice is about: the new address, who did it,\nthe module (bold in the table). The screen says so before you save.",[790,1758,1759],{},"Values are filled in as plain text, never as HTML. A link on a line of its own stays a link in every mail program.",[790,1761,1762],{},"The subject is one line, at most 200 characters: line breaks become spaces, also in what fills a placeholder. The text\nis at most 10,000 characters.",[790,1764,1765,1766,1768],{},"A line that holds only a placeholder with nothing to fill in is left out (",[966,1767,1644],{}," without redirected item\npages).",[790,1770,1771],{},"Each email has a tab per language: the site's languages first, then any other language SHADE (or the module) ships a\ntext in, such as English and Dutch. A site language without a text of its own starts from the site's default\nlanguage's text, else the English; edit it there to make it your own.",[790,1773,1774,1775,1778,1779,1782,1783,807],{},"The language of each email: a team member's admin language, else a person's own language as SHADE knows it, else the\nsite's default language; a user's by the page they came from. Then the closest tab: ",[682,1776,1777],{},"nl-BE"," takes ",[682,1780,1781],{},"nl"," when there is\nno ",[682,1784,1777],{},[790,1786,1787,1788,1791,1792,807],{},"The ",[635,1789,1790],{"href":230},"instance export"," carries the edited texts in ",[682,1793,1794],{},"settings.json",[790,1796,1797],{},"Saving what someone else changed meanwhile is refused: the screen says so and offers to reload. The same for a reset.",[790,1799,1800],{},"Saving the default text again stores nothing: the email counts as not edited.",[790,1802,1803],{},"After an update of SHADE, an edited text that no longer fits its email (a placeholder that is gone, or one that became\nrequired) is set aside: the default goes out until an admin edits it again, and the server's log says so.",[790,1805,1806,1807,1810],{},"Every save and reset is in the audit log (",[682,1808,1809],{},"email.templates.update",", with the email and the language). Saving and\nresetting need a signed-in session, never an API token.",[619,1812,1813,1814,1816],{},"Modules can have emails of their own on this screen too, in a group called ",[623,1815,317],{},": the order confirmation of the shop\nand the booking confirmation of appointments, for instance. They work the same way (a tab per language, placeholders, a\npreview, Reset to default and a test to yourself). A module's emails show only while the module is switched on.",[627,1818,1820],{"id":1819},"mailing-lists-bulk-mail","Mailing lists (bulk mail)",[619,1822,1823,1824,1827],{},"A module that sends marketing mail, such as a newsletter, goes through bulk mail rules in core instead of ",[682,1825,1826],{},"sendEmail","\n(experimental until a second module uses them). Mail that is part of serving someone, a confirmation or an order,\nstays transactional and is never held back by a list.",[787,1829,1830,1840,1853,1859,1865],{},[790,1831,1832,1835,1836,1839],{},[623,1833,1834],{},"Double opt-in."," Someone who signs up gets a mail with a link and is on the list only after following it. SHADE keeps\nwhat they were shown (the consent text) and when they asked and confirmed, as the proof of consent. It keeps no IP\naddress. The person is kept as a contact (see ",[635,1837,1838],{"href":270},"People","), and following the link\nconfirms their address.",[790,1841,1842,1845,1846,971,1849,1852],{},[623,1843,1844],{},"One-click unsubscribe."," Every list mail has ",[682,1847,1848],{},"List-Unsubscribe",[682,1850,1851],{},"List-Unsubscribe-Post"," headers (RFC 8058), so\nGmail, Apple Mail and others show an Unsubscribe button, and a link in the footer. It leaves one list for one address.",[790,1854,1855,1858],{},[623,1856,1857],{},"Suppression per list."," Someone who unsubscribed, bounced or complained gets no more mail on that list. A person who\nleft can join again, but only through a new confirmation. A blocked address (see Bounces and complaints) cannot sign up.",[790,1860,1861,1864],{},[623,1862,1863],{},"Apart from transactional mail."," List mail is not counted toward the emails-per-day limit and has a cap of its own\nper module (5000 in 24 hours), so a newsletter cannot use up the room an order confirmation needs. One confirmation\nmail an hour per address, and 200 an hour per module, keep sign-ups from filling inboxes.",[790,1866,1867,1870],{},[623,1868,1869],{},"Imports."," A module can add people who agreed elsewhere (a list moved from another tool) with the proof it has: the\nconsent text, where and when. No confirmation mail is sent. An import never adds a blocked address, anyone who left the\nlist, or an erased person who had unsubscribed; it reports only how many it added and skipped.",[619,1872,1873,1874,1878],{},"The subscriptions are personal data: they are found, exported and erased with the person (see\n",[635,1875,1877],{"href":1876},"\u002Fguide\u002Fpeople-and-security\u002Fprivacy#an-unsubscribe-outlives-the-erasure","Privacy","). Erasing someone who had\nunsubscribed or complained keeps their objection as a keyed hash of the address only, so no list mails them again unless\nthey confirm a new sign-up themselves. Sign-ups never confirmed are removed after 30 days (see Data retention).",[935,1880,1882],{"id":1881},"the-lists-tab","The Lists tab",[619,1884,1885,1888,1889,824,1892,1078,1895,971,1898,1901,1902,1904],{},[623,1886,1887],{},"Email → Lists"," shows every module's lists. For each: how many people are ",[623,1890,1891],{},"subscribed",[623,1893,1894],{},"waiting for confirmation",[623,1896,1897],{},"unsubscribed",[623,1899,1900],{},"suppressed"," (a bounce, a spam complaint, or a block that stands now). Below, each module's list\nmail of the last 24 hours against its cap of 5000, and how many erased people's objections are kept. Open a list to see\nwho is on it, newest sign-up first, and filter by status. Each address leads to the person on the ",[623,1903,1838],{}," screen.",[619,1906,1907,1908,1910,1911,1913],{},"The tab is read only: people join and leave through the module's own pages, and you block an address on the ",[623,1909,775],{},"\ntab. It shows addresses, so only admins see it (",[682,1912,697],{},"), as with the log.",[627,1915,1917],{"id":1916},"on-the-website","On the website",[619,1919,1920],{},"Nothing directly. Visitors only see the effect: mails arrive, and accounts can only be switched on once email\nis set up. A failed mail never fails what the visitor did: the submission, booking or order is stored first, and a\nmail failure is only logged.",[627,1922,1924],{"id":1923},"rules-and-limits","Rules and limits",[619,1926,1927,1930],{},[623,1928,1929],{},"When the provider keeps failing."," After five or more of them in a minute, at least half of its calls (a timeout, no connection, a host not found, a 5xx answer or a 429), SHADE stops calling your SMTP server or Brevo for\na while: 30 seconds at first, longer each time it is still down, at most 5 minutes. An email sent meanwhile is not\nlost: it is logged as waiting to be tried again, as when the provider is down, and its tries are not used up while\nSHADE waits (for up to a day). A refused address or a wrong password is an answer, never counted.",[619,1932,1933,1936],{},[623,1934,1935],{},"Attachments."," An email may carry up to 5 files, 10 MB together: PDF, calendar, CSV, PNG or JPEG (the shop attaches\nits invoices). An email waiting to be tried again keeps them; the log never shows them.",[619,1938,1939,1942,1943,1945,1946,1949,1950,807],{},[623,1940,1941],{},"When email counts as set up."," Settings must be saved and complete for the chosen way of sending: for SMTP a\nserver name; for Brevo a stored API key. An SMTP password is not required (servers without login are allowed).\n",[623,1944,798],{}," means it can send: after the instance's secret key changed, the screen says ",[966,1947,1948],{},"Enter the secret again","\ninstead of ",[966,1951,798],{},[619,1953,1954],{},[623,1955,1956],{},"When it is not set up:",[787,1958,1959,1965,1968],{},[790,1960,1961,1962,1964],{},"Nothing is sent: the mail is logged as ",[966,1963,917],{}," with the reason \"Email is not set up\".",[790,1966,1967],{},"Accounts cannot be switched on (\"Set up email first: users confirm their address by email\"); the switch on the\nAccounts screen is disabled with an explanation.",[790,1969,1970],{},"Modules that need email (appointments, shop) show \"Needs setup\" with \"Set up first:\" on the Modules page and cannot\nbe switched on.",[619,1972,1973,1976],{},[623,1974,1975],{},"Email cannot be switched off while it is needed",": a change that leaves email unusable while accounts or a\nmodule that sends email is on is refused, naming them (\"Email is still needed by accounts: switch them off\nfirst\").",[619,1978,1979],{},[623,1980,1981],{},"Settings checks:",[787,1983,1984,1987,1990,2004],{},[790,1985,1986],{},"Sender name 1–100 characters; sender address a valid email, at most 254 characters.",[790,1988,1989],{},"SMTP server: a host name (letters, digits, dots, hyphens), at most 253 characters, or empty. Port 1–65535.",[790,1991,1992,1993,1996,1997,2000,2001,639],{},"The SMTP server must be on the internet: before each connection SHADE looks its name up once and refuses an address\ninside the server's own network (private, loopback, link-local, the documentation ranges and the like, as for\n",[635,1994,1995],{"href":556},"modules' calls out","), then connects to the address it checked. A relay of the\ninstance's own or a mail catcher in development needs ",[682,1998,1999],{},"SHADE_SMTP_ALLOW_INTERNAL=true"," on every container\n(",[635,2002,2003],{"href":47},"Running on Coolify",[790,2005,2006],{},"Secrets at most 500 characters; spaces around them are removed before storing.",[619,2008,2009],{},[623,2010,2011],{},"Messages:",[787,2013,2014,2020,2023],{},[790,2015,2016,2017,2019],{},"Plain text only. There is no HTML: no visitor input can end up as HTML in a mail. Each of SHADE's own emails has a\ndefault text, which admins may change under ",[623,2018,638],{},"; modules write their own.",[790,2021,2022],{},"1–50 recipients, each a valid address. Subject 1–200 characters, on one line. Body up to 100,000 characters.\nOptional reply-to. Subjects, reply-to and names are always kept on one line.",[790,2024,2025,2026,2028],{},"A mail refused before sending (email not set up, or the message is invalid) is logged as ",[966,2027,917],{}," with the reason.",[619,2030,2031,2034],{},[623,2032,2033],{},"Encryption."," SMTP is always encrypted: TLS from the start, or STARTTLS is required (never plain text). Brevo is\nreached over HTTPS.",[619,2036,2037,2040,2041,2043,2044,2046,2047,2049],{},[623,2038,2039],{},"Failures and new tries."," A mail that does not get through is not lost: it is logged as ",[623,2042,913],{}," with the\nerror and tried five more times, first after a minute and then doubling, up to an hour apart. A success marks it\n",[623,2045,910],{},"; after the sixth attempt it is ",[623,2048,917],{},". A mail whose log entry was erased meanwhile is not sent. Whatever\nsent it carries on and is not told. Exceptions:",[787,2051,2052,2058],{},[790,2053,2054,2055,2057],{},"An email with a sign-in, reset or confirmation link (password resets, invitations, email changes, user account\nemails) is never kept for a new try: a failure is logged as ",[623,2056,917],{},", so nothing keeps a working link, and the\nperson asks for a new one.",[790,2059,2060,2061,2063],{},"The test email is never tried again: it fails at once with \"Could not connect to the mail server\", so a wrong\nsetting shows straight away; the reason is in the ",[623,2062,884],{}," log.",[619,2065,2066,2069],{},[623,2067,2068],{},"Secrets."," The SMTP password and Brevo key are stored encrypted, like module secrets, and never shown in the\nbrowser again; the screen only says whether one is stored. The audit entry for a save names which secrets changed,\nnever their values. If the instance's secret key changes, stored secrets can no longer be read and must be entered\nagain.",[619,2071,2072,2075],{},[623,2073,2074],{},"Personal data in the log."," The log keeps recipients, subject, source, status and error, never the message text\n(messages, names, order lines). Subjects can still hold personal data, such as the visitor's name (\"New message from\nAnn via …\") or an order number.",[619,2077,2078,2081],{},[623,2079,2080],{},"Rate limits."," Email has none of its own; limits on public forms belong to those features.",[619,2083,2084,2087,2088,807],{},[623,2085,2086],{},"Retention."," Log entries older than 90 days are deleted automatically (at least 7; admins can change it). See ",[635,2089,2090],{"href":274},"Data\nretention",[619,2092,2093],{},"Other mail services can be added when a client needs one.",[627,2095,2097],{"id":2096},"for-developers","For developers",[619,2099,2100,2101,2104,2105,2108],{},"The code and its tests: ",[682,2102,2103],{},"shade\u002Ffeatures\u002Femail\u002FREADME.md"," in the ",[682,2106,2107],{},"shade"," repository.",{"title":2110,"searchDepth":2111,"depth":2111,"links":2112},"",2,[2113,2114,2115,2119,2120,2121,2122,2125,2126,2127],{"id":629,"depth":2111,"text":630},{"id":649,"depth":2111,"text":650},{"id":755,"depth":2111,"text":756,"children":2116},[2117],{"id":937,"depth":2118,"text":938},3,{"id":1062,"depth":2111,"text":646},{"id":1212,"depth":2111,"text":1213},{"id":1332,"depth":2111,"text":1333},{"id":1819,"depth":2111,"text":1820,"children":2123},[2124],{"id":1881,"depth":2118,"text":1882},{"id":1916,"depth":2111,"text":1917},{"id":1923,"depth":2111,"text":1924},{"id":2096,"depth":2111,"text":2097},"md",null,{},true,{"title":287,"description":2110},"j99v5rrVN4ef4DEuplWdUuVCY5sWEuxhAzuzch7NPeI",[2135,2136],{"title":277,"path":278,"stem":279,"description":2110,"children":-1},{"title":291,"path":292,"stem":293,"description":2110,"children":-1},1796500157975]