{"_id":"@numoteq/emdash-plugin-jetemail","_rev":"6-b9c54264a203e5c126b6dff186faab93","name":"@numoteq/emdash-plugin-jetemail","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0-stage":{"name":"@numoteq/emdash-plugin-jetemail","version":"0.0.0-stage","_id":"@numoteq/emdash-plugin-jetemail@0.0.0-stage","stub":true,"maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"dist":{"shasum":"fad5278d7b2d0129793a525c2c8fa81f22ffe5c5","tarball":"https://registry.npmjs.org/@numoteq/emdash-plugin-jetemail/-/emdash-plugin-jetemail-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-BZAaFCJw9BhlNkURr6o1mKzBT0hrFtnsIa2L59EiEswn77/Miw5cp7z/JM+4pmNzR1qgGfVB08i7Br1emkA6Ng==","signatures":[{"sig":"MEUCIQD0pIbuI25O3Bpzi2yUloCFS7A0cgtnPJbdl5yz+hxosAIgZ12oHAjsQr2+E8CktG7dtz9mzrOKhe/5acXIPggA/SQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":353},"_npmUser":{"name":"lukasfrana","email":"lukas.frana@numoteq.com"},"description":"Temporary package placeholder for staged publishing","directories":{},"deprecated":"Deprecated, replaced by @numoteq/emdash-plugin-ahasend"},"0.1.0":{"name":"@numoteq/emdash-plugin-jetemail","version":"0.1.0","keywords":["email","emdash","emdash-plugin","jetemail"],"author":{"url":"https://www.numoteq.com","name":"NUMOTEQ s.r.o.","email":"info@numoteq.com"},"license":"MIT","_id":"@numoteq/emdash-plugin-jetemail@0.1.0","maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"homepage":"https://github.com/numoteq/emdash-plugins/tree/main/packages/jetemail#readme","bugs":{"url":"https://github.com/numoteq/emdash-plugins/issues"},"dist":{"shasum":"b2a44f1df15d0c2f5da2a0c1a826f2bb788e4e6e","tarball":"https://registry.npmjs.org/@numoteq/emdash-plugin-jetemail/-/emdash-plugin-jetemail-0.1.0.tgz","fileCount":9,"integrity":"sha512-nsGFu+r47muz3GSuR7I9/33RFeQVc0iUVl7FDcF9/KQL+7rVScekt7eYaL7jgPQNOfLSVO2viNkAVaXZ854f4g==","signatures":[{"sig":"MEUCIAIGEeQV34JvPP1ae/qLNiSz8FWOcnB5TQA+w391oypPAiEAuXZLbXjXlhC8wBJrYF91KrMHpyi7tFYLk+pwuTuBGeQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIF3CgR7HxLWP3HNnbdiCGRPmU+HYpO+wfY3x/mdtE1fTAiApttwrw8bgbLrN8NJ8UNyYtM2KvoSqflc5vwBioKdyxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9453},"main":"dist/index.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./sandbox":"./dist/plugin.mjs"},"gitHead":"94be227ec339799b9ba46871696411f51785a908","scripts":{"dev":"emdash-plugin dev","test":"vitest run","build":"emdash-plugin validate && emdash-plugin build","typecheck":"tsc --noEmit"},"_npmUser":{"name":"lukasfrana","email":"lukas.frana@numoteq.com"},"repository":{"url":"git+https://github.com/numoteq/emdash-plugins.git","type":"git","directory":"packages/jetemail"},"_npmVersion":"11.19.0","description":"JetEmail transport provider for EmDash","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"emdash":"1.1.0","vitest":"5.0.2","typescript":"6.0.3","@emdash-cms/plugin-cli":"0.13.2"},"peerDependencies":{"emdash":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin-jetemail_0.1.0_1791752528545_0.7768489588263654","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated, replaced by @numoteq/emdash-plugin-ahasend"},"0.2.0":{"name":"@numoteq/emdash-plugin-jetemail","version":"0.2.0","keywords":["email","emdash","emdash-plugin","jetemail"],"author":{"url":"https://www.numoteq.com","name":"NUMOTEQ s.r.o.","email":"info@numoteq.com"},"license":"MIT","_id":"@numoteq/emdash-plugin-jetemail@0.2.0","maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"homepage":"https://github.com/numoteq/emdash-plugins/tree/main/packages/jetemail#readme","bugs":{"url":"https://github.com/numoteq/emdash-plugins/issues"},"dist":{"shasum":"f437eaa4b79d7c3dfdb96838d095fda41d8a02b4","tarball":"https://registry.npmjs.org/@numoteq/emdash-plugin-jetemail/-/emdash-plugin-jetemail-0.2.0.tgz","fileCount":18,"integrity":"sha512-ngQ93SgSl3nTKmEdhp6HA6ZTxZbPl3w72g7Wz/1XZULLAVk5slyWtsbRr4lgD9IwhaluYCHCEMjKWu0GBeNolg==","signatures":[{"sig":"MEUCIQD6PRNZEWprY5dIvTM4IV8NivA5DHawZUyoCmKldnxzFQIgIPOSIZoXtJWFEnivdO1QnGB4PtHbAFIlImx+JcU9fho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHs1Jrx8MCAGQpagjlzWw/69qznSkLOdZU49dAVW0muvAiBB6ApZZ8VF2Tg0pVipBQP1aeLQhaeSwBAi1CBPIzkN1Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@numoteq%2femdash-plugin-jetemail@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16877},"main":"dist/index.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./client":{"types":"./dist/client.d.mts","import":"./dist/client.mjs"},"./native":{"types":"./dist/native/index.d.mts","import":"./dist/native/index.mjs"},"./sandbox":"./dist/plugin.mjs","./native/plugin":{"types":"./dist/native/plugin.d.mts","import":"./dist/native/plugin.mjs"}},"gitHead":"f3ae19793da27d8db37c8c05672abcf504730a01","scripts":{"dev":"emdash-plugin dev","test":"vitest run","build":"emdash-plugin validate && emdash-plugin build && tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"21c0a81b-eea0-4aab-8406-8c99402e4688"}},"repository":{"url":"git+https://github.com/numoteq/emdash-plugins.git","type":"git","directory":"packages/jetemail"},"_npmVersion":"11.19.0","description":"JetEmail transport provider for EmDash","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"emdash":"1.1.0","tsdown":"0.20.3","vitest":"5.0.2","typescript":"6.0.3","@emdash-cms/plugin-cli":"0.13.2"},"peerDependencies":{"emdash":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin-jetemail_0.2.0_1791753724882_0.26012714635030165","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated, replaced by @numoteq/emdash-plugin-ahasend"},"0.3.0":{"name":"@numoteq/emdash-plugin-jetemail","version":"0.3.0","keywords":["email","emdash","emdash-plugin","jetemail"],"author":{"url":"https://www.numoteq.com","name":"NUMOTEQ s.r.o.","email":"info@numoteq.com"},"license":"MIT","_id":"@numoteq/emdash-plugin-jetemail@0.3.0","maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"homepage":"https://github.com/numoteq/emdash-plugins/tree/main/packages/jetemail#readme","bugs":{"url":"https://github.com/numoteq/emdash-plugins/issues"},"dist":{"shasum":"680e8c21694a271ef2452baaf0f10b1542ff4d5e","tarball":"https://registry.npmjs.org/@numoteq/emdash-plugin-jetemail/-/emdash-plugin-jetemail-0.3.0.tgz","fileCount":18,"integrity":"sha512-86iIspUlmc5+nFAIkkE1PAnOaCCNoKK4MR9TYP1cOzh3rTOgBhCM/cWe0jkh8hdbxmhbm/PyI6xyrdQGd8m0Jw==","signatures":[{"sig":"MEQCIE2OzN4xKpUArXb6Eh92SrdJXSZzotpJMO7UA3C+SRnWAiAUXtHhFwDhWh5K8tUQK/s3X7eM3Gk3NIiFmpkRJY2YjQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCUsRTQGuLVtjFrfY+/LOZY1Rzbw33UlDjgTXL3qg4XrwIgWhGT/1u02saZcFGMG2T24/2PovtgIzQjmTkoA40lf0o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@numoteq%2femdash-plugin-jetemail@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17920},"main":"dist/index.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./client":{"types":"./dist/client.d.mts","import":"./dist/client.mjs"},"./native":{"types":"./dist/native/index.d.mts","import":"./dist/native/index.mjs"},"./sandbox":"./dist/plugin.mjs","./native/plugin":{"types":"./dist/native/plugin.d.mts","import":"./dist/native/plugin.mjs"}},"gitHead":"4184fdc7e57667552d105ab675841e690baef73c","scripts":{"dev":"emdash-plugin dev","test":"vitest run","build":"emdash-plugin validate && emdash-plugin build && tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"21c0a81b-eea0-4aab-8406-8c99402e4688"}},"repository":{"url":"git+https://github.com/numoteq/emdash-plugins.git","type":"git","directory":"packages/jetemail"},"_npmVersion":"11.19.0","description":"JetEmail transport provider for EmDash","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"emdash":"1.1.0","tsdown":"0.20.3","vitest":"5.0.2","typescript":"6.0.3","@emdash-cms/plugin-cli":"0.13.2"},"peerDependencies":{"emdash":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin-jetemail_0.3.0_1791754798865_0.450463435579175","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated, replaced by @numoteq/emdash-plugin-ahasend"},"0.4.0":{"name":"@numoteq/emdash-plugin-jetemail","version":"0.4.0","keywords":["email","emdash","emdash-plugin","jetemail"],"author":{"url":"https://www.numoteq.com","name":"NUMOTEQ s.r.o.","email":"info@numoteq.com"},"license":"MIT","_id":"@numoteq/emdash-plugin-jetemail@0.4.0","maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"homepage":"https://github.com/numoteq/emdash-plugins/tree/main/packages/jetemail#readme","bugs":{"url":"https://github.com/numoteq/emdash-plugins/issues"},"dist":{"shasum":"4293a8c9f1e626ea11e3f82680612926b8794638","tarball":"https://registry.npmjs.org/@numoteq/emdash-plugin-jetemail/-/emdash-plugin-jetemail-0.4.0.tgz","fileCount":18,"integrity":"sha512-2M4j4bv4NVdCPmkNsqFOvPciVAy6kq+YWslcrZDjYhWUn/gdzc13RL01qGjWo9X3AysOWqwsdODe0oBkeXAbuQ==","signatures":[{"sig":"MEUCIQDzXUgVXQ593ipZTuiHQNqpd35A19F3WZLcVeuE/MmpygIgJ7M8BJ1/cczB6S4kRZie730Mj+W3UaUFIe7avpCRD80=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEcz+T9mfX86jniYtdtqEEnftmCATnW+s4Ap/cOvxknIAiEA6tyiaCV7Tvch39O0qqB05/GbSfU6u/6/eLRsahXzkzo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@numoteq%2femdash-plugin-jetemail@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22225},"main":"dist/index.mjs","type":"module","exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"},"./client":{"types":"./dist/client.d.mts","import":"./dist/client.mjs"},"./native":{"types":"./dist/native/index.d.mts","import":"./dist/native/index.mjs"},"./sandbox":"./dist/plugin.mjs","./native/plugin":{"types":"./dist/native/plugin.d.mts","import":"./dist/native/plugin.mjs"}},"gitHead":"12fee3d70bcfb9542a1f96c72a1d582e3e026e30","scripts":{"dev":"emdash-plugin dev","test":"vitest run","build":"emdash-plugin validate && emdash-plugin build && tsdown","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"21c0a81b-eea0-4aab-8406-8c99402e4688"}},"repository":{"url":"git+https://github.com/numoteq/emdash-plugins.git","type":"git","directory":"packages/jetemail"},"_npmVersion":"11.19.0","description":"JetEmail transport provider for EmDash","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"emdash":"1.1.0","tsdown":"0.20.3","vitest":"5.0.2","typescript":"6.0.3","@emdash-cms/plugin-cli":"0.13.2"},"peerDependencies":{"emdash":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/emdash-plugin-jetemail_0.4.0_1791759924698_0.3971788055110157","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Deprecated, replaced by @numoteq/emdash-plugin-ahasend"}},"time":{"created":"2026-10-11T21:00:00.392Z","modified":"2026-10-19T14:32:34.947Z","0.0.0-stage":"2026-10-11T21:00:00.392Z","0.1.0":"2026-10-11T21:02:08.634Z","0.2.0":"2026-10-11T21:22:04.979Z","0.3.0":"2026-10-11T21:39:58.952Z","0.4.0":"2026-10-11T23:05:24.789Z"},"bugs":{"url":"https://github.com/numoteq/emdash-plugins/issues"},"author":{"url":"https://www.numoteq.com","name":"NUMOTEQ s.r.o.","email":"info@numoteq.com"},"license":"MIT","homepage":"https://github.com/numoteq/emdash-plugins/tree/main/packages/jetemail#readme","keywords":["email","emdash","emdash-plugin","jetemail"],"repository":{"url":"git+https://github.com/numoteq/emdash-plugins.git","type":"git","directory":"packages/jetemail"},"description":"JetEmail transport provider for EmDash","maintainers":[{"name":"lukasfrana","email":"lukas.frana@numoteq.com"}],"readme":"# `@numoteq/emdash-plugin-jetemail`\n\nSandbox-compatible [JetEmail](https://jetemail.com) transport provider for EmDash.\n\n## Install\n\n```sh\npnpm add @numoteq/emdash-plugin-jetemail\n```\n\nRegister the package in the site's sandboxed plugin configuration, activate it, then select **JetEmail** under **Settings > Email**. Open the plugin settings and enter:\n\n- A JetEmail transactional API key (`transactional_…`) allowed to send from the sender's domain.\n- The sender email. The sender domain must be verified in JetEmail.\n- Optionally the sender name (defaults to the site title) and a Reply-To address.\n\nIf the domain publishes JetEmail Domain Security (`_jm` TXT), add the API key's UUID to it, otherwise JetEmail rejects the message.\n\nThe key is stored in the plugin-scoped KV store and is sent only to `https://api.jetemail.com/email`. The plugin requests only the fixed-host network and email transport registration capabilities. Recipients, CC and reply-to are passed through; a message's own reply-to wins over the configured one. EmDash email has no attachments.\n\n## Native use (Cloudflare Workers sites)\n\nSites that configure EmDash in code register the transport in `astro.config.mjs` instead; the API key lives in a Worker secret and nothing is set in the admin:\n\n```js\nimport { jetEmail } from \"@numoteq/emdash-plugin-jetemail/native\";\n\nemdash({\n\tplugins: [jetEmail({ from: { email: \"noreply@example.com\" }, replyTo: \"info@example.com\" })],\n});\n```\n\n```sh\nwrangler secret put JETEMAIL_API_KEY\n```\n\n- `from.name` is optional and defaults to the site title (Settings > General).\n- `replyTo` applies when a message sets none.\n- EmDash selects the provider automatically when it is the only one.\n\nSite code (forms, Workflows) sends through the same sender with `sendEmail`, which also supports attachments. It throws on failure; a `JetEmailError` carries the HTTP status.\n\n```ts\nimport { sendEmail } from \"@numoteq/emdash-plugin-jetemail/native\";\n\nawait sendEmail(mailConfig, {\n\tto: \"team@example.com\",\n\treplyTo: visitorEmail,\n\tsubject: \"New enquiry\",\n\ttext,\n\tattachments: [{ filename: \"offer.pdf\", content: pdfBytes }],\n});\n```\n\nPass the same config object to `jetEmail()` and `sendEmail()`, for example from a shared `src/mail-config.ts`.\n\n### E2E and local runs without a key\n\nWith the Worker variable `JETEMAIL_DRY_RUN` set to exactly `true`, nothing is sent: each message is logged as a warning (from, to, reply-to, subject) and reported as sent. Set it only in the E2E Wrangler config, never in production. Without it, a missing `JETEMAIL_API_KEY` fails the send.\n\n## Development\n\n```sh\npnpm test\npnpm typecheck\npnpm build\n```\n\n`emdash-plugin build` creates the npm descriptor and sandbox bundle in `dist/`.\n","readmeFilename":"README.md"}