{"_id":"@abinnovision/payloadcms-email-lettermint","_rev":"10-2650bdae9da0ee16b85fae260514b841","name":"@abinnovision/payloadcms-email-lettermint","dist-tags":{"latest":"1.0.3","beta":"1.0.3-beta.1"},"versions":{"1.0.0-beta.1":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.0-beta.1","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.0-beta.1","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"6d07adb5008a7ef7b97b1bf8f887c417e6e72ec4","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.0-beta.1.tgz","fileCount":15,"integrity":"sha512-X1C5GWJi0GO/SHBcD19otlbaZCui8FDdbldUe97OGMOKgj9j5w4N9q1rbMHbn6QA04M4LsZXVDYZ6tIYVNF9ew==","signatures":[{"sig":"MEYCIQCeqcSOtDgxb0U956eZJkBmabp0iPH2N6yvC5q+zU5mEAIhAN41kYE1mEtHDXfSdrji88vk0MhitLqyq9q6+ZNlly7Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":41939},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"42ca6be7c4a26a32774ee4bbad045ea77ef0c9c0","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"wipeair","email":"andre@loreth.co"},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.7.0","tsdown":"^0.22.14","vitest":"^4.1.10","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.1","typescript":"^6.0.3","@types/node":"^26.2.0","unplugin-swc":"^1.5.11","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^4.1.10","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.0-beta.1_1787646276192_0.1447885648510474","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.2":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.0-beta.2","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.0-beta.2","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"69f7f930b23a9b08f8d686089e1329ab17bbe6a2","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.0-beta.2.tgz","fileCount":14,"integrity":"sha512-bbKoxdmJNH2dmeUJQpaM3tMLzl5ny+dylNITxFWYbM3UtdaUrOSP1rWgm0kC4IODkxlrTDB5EDDCtKKfvjHrdA==","signatures":[{"sig":"MEYCIQDf+EpCtx2L16thSVfGUjJ5XXouKXcJhrL/BT0OZbXNagIhANvpGAgVoRP+BTOXdx2wMXIno/onSjeQurM3iJUdAc51","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":42449},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"585e695013fe480978ceccccd0d3c3c741c154b8","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.4.1"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.7.0","tsdown":"^0.22.14","vitest":"^4.1.10","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.1","typescript":"^6.0.3","@types/node":"^26.2.0","unplugin-swc":"^1.5.11","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^4.1.10","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.0-beta.2_1787856332574_0.9369828938059006","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.3":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.0-beta.3","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.0-beta.3","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"c94fd994e80d2398cecc30a349c95c42ce904ab9","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.0-beta.3.tgz","fileCount":14,"integrity":"sha512-TVOyY7vD0lri2coktTMPXkyaRNftGDD3+VWdBa6vlU4ra4Q22TNiUp3HMqUJH2XCDN3iusOirJePXuQIwB88iw==","signatures":[{"sig":"MEUCIEd3TUaxVq4+D1uz33B8hONOX1bdEKAEYS0RE88wQERNAiEAxzFeu790B31XGxy+TKOl0w7NUkpxx1Io2/QDZ9U/X+g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.0-beta.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":45688},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"6597bbebf7b40e34cbf63364e70e697d5498461c","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.4.1"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.7.0","tsdown":"^0.22.14","vitest":"^4.1.10","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.1","typescript":"^6.0.3","@types/node":"^26.2.0","unplugin-swc":"^1.5.11","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^4.1.10","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.0-beta.3_1787909373016_0.5641979770456917","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.0","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.0","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"0ab2179eb7c92eedd977598cc723ec46b322f128","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.0.tgz","fileCount":15,"integrity":"sha512-Ix1sK1Z43xJ1vRAnx8C2HRPXlDoKI0OpxHDap+SK08bc7+kUca8Rfx3qDXYlZ+8CLPthvg03fg8/KrhyxVWdQw==","signatures":[{"sig":"MEYCIQDdji52FE9rluMLVuo62TPMfxYzcx+vkE93lZqwgDkeXgIhAOVnv79qv4P+m+iEB6OhBD6exmrarwDgyx7KUaj30LJD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46459},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"6c7fff12a676f975baa07bb93c54a3198ff6fd10","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.4.1"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.9.1","tsdown":"^0.22.14","vitest":"^4.1.10","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.1","typescript":"^6.0.3","@types/node":"^26.3.0","unplugin-swc":"^1.5.11","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^4.1.10","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.0_1788420307117_0.6228248493318187","host":"s3://npm-registry-packages-npm-production"}},"1.0.1-beta.1":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.1-beta.1","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.1-beta.1","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"859c2636be5a5dce5a50b6e2f2b3ecb7b17756c8","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.1-beta.1.tgz","fileCount":15,"integrity":"sha512-Ztci7KrJLOXezR/lEzH+TU7e2UaLUJmUwzh/+eX1hEm2bqm4eZ7aolzy9soOJVNCycgqsafX49IXMm/aIYhnuQ==","signatures":[{"sig":"MEYCIQD3PUnz+QGU/DS0nkgNqWbUk8q51VR1eCJiPGbnbn6erAIhAJQbY0VvL5+2V9bc7qhVHmUAWMj35cRA0Ivu/sKSIcUy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHvVivWbA8Ns8AgItu1XqyyohUhVjOwdoteIwJdTkje8AiBdKg9+Vy+My7EIBahlc2KLtjFtepa/GV/+TGwK549oYw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.1-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46466},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"3b36d10f0dd9e21dff393168ca6db4613ba4040f","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.6.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.9.1","tsdown":"^0.22.14","vitest":"^4.1.10","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.1","typescript":"^6.0.3","@types/node":"^26.3.0","unplugin-swc":"^1.5.11","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^4.1.10","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.1-beta.1_1789735892673_0.6837475064110357","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.1","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.1","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"93e8a3c6174919d9983daa7d3d7eddf502d76421","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.1.tgz","fileCount":15,"integrity":"sha512-OMX+NyZeJ4SOjyv7irsSqroZjScfKaCwu6RakVEMkia8dEwh//IaLqCCbkjijqpZ6u4GRxDzDBqvRMDhB3DIGQ==","signatures":[{"sig":"MEQCIAvBVAK+QjYJGYZMcPbIEDzp4hg3c+BoCSSHO9TZolVBAiBbQ0jznaD3qUKSkyWu5GTEBfwbFj4F/N1uue3k+Be+Mg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDmA7ZKyq5els0FHjEr+c/q2iEEaP5iOGu6sM2PMZziEwIhAI2jmxycnEeoioI2tD1eMIWcTg+lOGcMXs1nzx7cdiGO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46717},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"1079de1af2bd3f1f443096e4016c1e6e99ace0a6","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.6.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","payload":"3.88.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.2","typescript":"^6.0.3","@types/node":"^26.5.1","unplugin-swc":"^1.6.0","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^5.0.0","@payloadcms/db-sqlite":"3.88.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.1_1789742978958_0.5995524209664842","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-beta.1":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.2-beta.1","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.2-beta.1","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"dist":{"shasum":"cf81a4667c917c2bf288194617c5aac62c536513","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.2-beta.1.tgz","fileCount":15,"integrity":"sha512-BI1uRL35wfI/IT/UPiBLVXDWFxoBiRBgFpEVtwR/8ye2o6SLigtJxH/J/k/NTMbCI7QHAm2wVcXNhSweasrTAQ==","signatures":[{"sig":"MEUCIQDRj/84Qc11/G4zgrb0N9boC0FfNUGEd6PzSHxJ5eR5KwIgFJLuRFWS+olOB7oeqI4TekQsiGIMZBGF8Qm/dZjOxJ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQChXn3EIJpvZ3ECJ8ZTaIeAr/fxjKiWVs1Kr617JPjMEQIhAOJICKMTj6lc00xIEycX4gXd7G7HU6UMmNWLTAyVPmFt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.2-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":46724},"type":"module","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"gitHead":"7f083e3e040ffa99cd66347965c3a492c46e7f12","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"dependencies":{"lettermint":"^2.7.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","payload":"3.89.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.2","typescript":"^6.0.3","@types/node":"^26.5.1","unplugin-swc":"^1.6.0","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^5.0.0","@payloadcms/db-sqlite":"3.89.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.2-beta.1_1790119772195_0.34387801343397717","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.2","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.2","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"homepage":"https://github.com/abinnovision/payloadcms-commons#readme","bugs":{"url":"https://github.com/abinnovision/payloadcms-commons/issues"},"dist":{"shasum":"e682f7e30f9a10842b4e63f30104e1ea880d97e5","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.2.tgz","fileCount":15,"integrity":"sha512-vVAiE7DsKc2e3cgP4+euyvYYfkoF/HuyE72k/Eg/35zo7v7fcuKG4SvJCsoKSgSjcez8rOvk9eoJwBCbVjQ8SQ==","signatures":[{"sig":"MEUCIQDBJxFE1YxaU327RzcL050M9uEPgQMGXfuxHXah1W+IXAIgDwQkwCAZdUOREiP7DBhFhaDZzEzxqV+jaXHUj48QHdw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGL3nii/r9OWKCWCJUhuY82ObwKnBHkIilzzvtkikLv2AiB8LHmxPTvw0mao4qMJbqjYKzeJnjbeUX0JbLMhCCoLjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47141},"type":"module","_from":"file:/home/runner/work/_temp/work/0.tgz","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","_resolved":"/home/runner/work/_temp/work/0.tgz","_integrity":"sha512-vVAiE7DsKc2e3cgP4+euyvYYfkoF/HuyE72k/Eg/35zo7v7fcuKG4SvJCsoKSgSjcez8rOvk9eoJwBCbVjQ8SQ==","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"_npmVersion":"11.19.0","description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"_nodeVersion":"24.21.0","dependencies":{"lettermint":"^2.7.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","payload":"3.89.0","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.2","typescript":"^6.0.3","@types/node":"^26.5.1","unplugin-swc":"^1.6.0","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^5.0.0","@payloadcms/db-sqlite":"3.89.0","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.2_1791037425154_0.19395549948444146","host":"s3://npm-registry-packages-npm-production"}},"1.0.3-beta.1":{"name":"@abinnovision/payloadcms-email-lettermint","version":"1.0.3-beta.1","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","_id":"@abinnovision/payloadcms-email-lettermint@1.0.3-beta.1","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"homepage":"https://github.com/abinnovision/payloadcms-commons#readme","bugs":{"url":"https://github.com/abinnovision/payloadcms-commons/issues"},"dist":{"shasum":"57ffe3b37f5f81c77e57a3c72d0959770d9c8fe9","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.3-beta.1.tgz","fileCount":15,"integrity":"sha512-AgT9/NinGUzaa3TRX17z/g8Hgph2sfOpGrB1mLiBfDZb3KiOSCOSWWfaHdNleaFYs9CbYDcpjaYrFS6axtxF9Q==","signatures":[{"sig":"MEUCIQCYh5wOTFivK9SutLG8CKbQPzUQIImC/ClqFxHLR1SV3AIgchnQXmAeq1PKrTI6/fXFZhwdNxUec8UgEyY4JoIbHrk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIExt/LJsh2P7udC34WkDKWLvDJHGKR4c7iS6Pkq3kl4TAiBTtcGddRbG+/HcqXzeMtlv1OJXOzJvEJ5BfNDp0LoX3g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.3-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47148},"type":"module","_from":"file:/home/runner/work/_temp/work/1.tgz","$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"20ac7630-ea06-499f-bef4-6b600c65efa1"}},"prettier":"@abinnovision/prettier-config","_resolved":"/home/runner/work/_temp/work/1.tgz","_integrity":"sha512-AgT9/NinGUzaa3TRX17z/g8Hgph2sfOpGrB1mLiBfDZb3KiOSCOSWWfaHdNleaFYs9CbYDcpjaYrFS6axtxF9Q==","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"_npmVersion":"11.19.0","description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"_nodeVersion":"24.21.0","dependencies":{"lettermint":"^2.7.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","payload":"3.90.2","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.2","typescript":"^6.0.3","@types/node":"^26.5.1","unplugin-swc":"^1.6.0","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^5.0.0","@payloadcms/db-sqlite":"3.90.2","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"tmp":"tmp/payloadcms-email-lettermint_1.0.3-beta.1_1791043428466_0.15813097383638097","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"_id":"@abinnovision/payloadcms-email-lettermint@1.0.3","bugs":{"url":"https://github.com/abinnovision/payloadcms-commons/issues"},"dist":{"shasum":"3815ee4c2fe4509091930fa790ab8b3acb149b18","tarball":"https://registry.npmjs.org/@abinnovision/payloadcms-email-lettermint/-/payloadcms-email-lettermint-1.0.3.tgz","fileCount":15,"integrity":"sha512-ALiV8zQ7ulhZZE5JnvAQIiWMq0HUFlKNVjoNbfQqfWiBBRKjkHAxvJW+79WYFwGIBSg6vnOmqam+PI4Mw6h38w==","signatures":[{"sig":"MEUCIB6+ej5JnXSre/A9tOf3PYp5WVz9dZq1vCugUGWYc2OpAiEAt+F6s+5HO342bY1xIopp04P+PiA6GKtEN2k63dKw7J4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHObNjZulan07SqpzjH/EGyvheHK4jyTFpO3UjiaKDZzAiEA4FNeaFq5mxZZ+psnG3wDKihCMo1C/tHuBdO+6PBZquw="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@abinnovision%2fpayloadcms-email-lettermint@1.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47582},"name":"@abinnovision/payloadcms-email-lettermint","type":"module","_from":"file:/home/runner/work/_temp/work/0.tgz","author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"$schema":"https://json.schemastore.org/package.json","exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"}},"license":"Apache-2.0","scripts":{"build":"tsdown","lint:fix":"eslint 'src/**/*.ts' 'test/**/*.ts' --fix","test-unit":"vitest --run --coverage --config vitest.config.mts","typecheck":"tsc --noEmit","format:fix":"prettier --write 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","lint:check":"eslint 'src/**/*.ts' 'test/**/*.ts'","format:check":"prettier --check 'src/**/*.ts' 'test/**/*.ts' '*.{json{,5},md,y{,a}ml}'","test-unit:watch":"vitest --config vitest.config.mts","test-integration":"vitest --run --config test/integration/vitest.config.mts"},"version":"1.0.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"20ac7630-ea06-499f-bef4-6b600c65efa1"}},"homepage":"https://github.com/abinnovision/payloadcms-commons#readme","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"prettier":"@abinnovision/prettier-config","_resolved":"/home/runner/work/_temp/work/0.tgz","_integrity":"sha512-ALiV8zQ7ulhZZE5JnvAQIiWMq0HUFlKNVjoNbfQqfWiBBRKjkHAxvJW+79WYFwGIBSg6vnOmqam+PI4Mw6h38w==","repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"_npmVersion":"11.19.0","description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","directories":{},"lint-staged":{"{src,test}/**/*.ts":["eslint --fix","prettier --write"],"*.{json{,5},md,y{,a}ml}":"prettier --write"},"maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"_nodeVersion":"24.21.0","dependencies":{"lettermint":"^2.7.0"},"publishConfig":{"npm":true,"ghpr":true,"npmAccess":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.10.0","tsdown":"^0.23.0","vitest":"^5.0.0","payload":"3.90.2","publint":"^0.3.24","prettier":"^3.9.5","@swc/core":"^1.16.2","typescript":"^6.0.3","@types/node":"^26.5.1","unplugin-swc":"^1.6.0","@types/nodemailer":"^8.0.0","@vitest/coverage-v8":"^5.0.0","@payloadcms/db-sqlite":"3.90.2","@arethetypeswrong/core":"^0.18.5","@abinnovision/prettier-config":"^2.2.0","@abinnovision/eslint-config-base":"^3.4.2"},"peerDependencies":{"payload":">=3.88.0 <4"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/payloadcms-email-lettermint_1.0.3_1791121580320_0.8325879508796241"}}},"time":{"created":"2026-08-25T08:24:36.044Z","modified":"2026-10-04T13:46:20.805Z","1.0.0-beta.1":"2026-08-25T08:24:36.329Z","1.0.0-beta.2":"2026-08-27T18:45:32.703Z","1.0.0-beta.3":"2026-08-28T09:29:33.157Z","1.0.0":"2026-09-03T07:25:07.324Z","1.0.1-beta.1":"2026-09-18T12:51:32.758Z","1.0.1":"2026-09-18T14:49:39.063Z","1.0.2-beta.1":"2026-09-22T23:29:32.286Z","1.0.2":"2026-10-03T14:23:45.236Z","1.0.3-beta.1":"2026-10-03T16:03:48.554Z","1.0.3":"2026-10-04T13:46:20.415Z"},"bugs":{"url":"https://github.com/abinnovision/payloadcms-commons/issues"},"author":{"url":"https://abigroup.io","name":"abi group GmbH","email":"info@abigroup.io"},"license":"Apache-2.0","homepage":"https://github.com/abinnovision/payloadcms-commons#readme","keywords":["payload","payloadcms","email","email-adapter","lettermint"],"repository":{"url":"git+https://github.com/abinnovision/payloadcms-commons.git","type":"git","directory":"packages/email-lettermint"},"description":"Payload CMS email adapter sending transactional mail through the Lettermint API.","maintainers":[{"name":"wipeair","email":"andre@loreth.co"}],"readme":"# @abinnovision/payloadcms-email-lettermint\n\nA Payload CMS email adapter that sends transactional mail through\n[Lettermint](https://lettermint.co).\n\nSending goes through Lettermint's official `lettermint` SDK (`>=2.4.1`).\n\n- Requires a Node.js runtime: the SDK imports Node's `util/types`, so it will\n  not run on an edge or browser runtime.\n- Validation errors keep their per-field detail. The SDK's own error message\n  drops it, so the adapter reads the full `422` body off the thrown error\n  instead.\n\n## Install\n\n```bash\nyarn add @abinnovision/payloadcms-email-lettermint\n```\n\n- Peer dependency: `payload >=3.88.0 <4`.\n- The package is published as ESM only, matching Payload itself.\n\n## Usage\n\n```ts\nimport { lettermintAdapter } from \"@abinnovision/payloadcms-email-lettermint\";\nimport { buildConfig } from \"payload\";\n\nexport default buildConfig({\n  // ...\n  email: lettermintAdapter({\n    apiToken: process.env.LETTERMINT_API_TOKEN!,\n    defaultFromAddress: \"no-reply@example.com\",\n    defaultFromName: \"Example CMS\",\n    route: \"outgoing\",\n  }),\n});\n```\n\nThe token is the **project** API token (`lm_…`), sent as `x-lettermint-token`.\nThe team token (`lm_team_…`) is for the management API and cannot send mail.\n\nThe sending domain has to be verified in the project before anything goes out.\n\n## Options\n\n| Option                     | Type                                    | Default                        | Description                                                                                                      |\n| -------------------------- | --------------------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------- |\n| `apiToken`                 | `string`                                | —                              | Project API token. Required unless `client` is given.                                                            |\n| `client`                   | `LettermintClient`                      | —                              | An existing client to reuse instead of building one from `apiToken`. Must use the default `authMode: \"sending\"`. |\n| `defaultFromAddress`       | `string`                                | —                              | Sender used when a message carries no `from`. Required.                                                          |\n| `defaultFromName`          | `string`                                | —                              | Display name paired with the address. Required.                                                                  |\n| `route`                    | `string`                                | project default                | Route slug to send on.                                                                                           |\n| `settings`                 | `{ track_opens?, track_clicks?, tls? }` | route's own                    | Applied to every message, overriding the route.                                                                  |\n| `metadata`                 | `Record<string, string>`                | —                              | Attached to every message. Tracked, never sent as headers.                                                       |\n| `tags`                     | `{ name, value }[]`                     | —                              | Attached to every message.                                                                                       |\n| `overrideRecipientAddress` | `string`                                | —                              | Redirect every message to one address, dropping `cc` and `bcc`.                                                  |\n| `baseUrl`                  | `string`                                | `https://api.lettermint.co/v1` | API base URL.                                                                                                    |\n| `timeout`                  | `number`                                | `30000`                        | Request timeout in milliseconds.                                                                                 |\n\nPayload requires `defaultFromAddress` and `defaultFromName` because its own auth\nemails read them. All three required options are validated while the config is\nbeing built, so a missing token fails at startup rather than on the first\npassword reset.\n\n### Route choice\n\nPayload sends transactional mail, so `route` should name a **transactional**\nroute. Broadcast routes add hosted unsubscribe handling, which does not belong on\na password reset.\n\n### Sharing a client\n\nIf the app already builds a `LettermintClient` for other Lettermint calls (e.g.\nmanaging domains or webhooks through the SDK's `ApiClient`), pass a client for\nsending mail instead of a raw `apiToken`, and reuse it directly wherever else\nit's needed:\n\n```ts\nimport { createLettermintClient } from \"@abinnovision/payloadcms-email-lettermint\";\n\nconst client = createLettermintClient({\n  apiToken: process.env.LETTERMINT_API_TOKEN!,\n});\n\nexport default buildConfig({\n  // ...\n  email: lettermintAdapter({\n    client,\n    defaultFromAddress: \"no-reply@example.com\",\n    defaultFromName: \"Example CMS\",\n  }),\n});\n```\n\nThe client is stateless, so the adapter reuses this single instance for every\nsend rather than building a new one each time. `client` is checked with\n`instanceof LettermintClient`, so passing an `ApiClient` or another object\nfails at startup.\n\nIt must also keep the default `authMode: \"sending\"` — a client built with\n`authMode: \"api\"` for the SDK's `ApiClient` sends the wrong auth header to\n`/send`. The SDK keeps `authMode` private, so the adapter cannot check that\nspecific mismatch at startup; it surfaces as Lettermint refusing the message\nwhen a send is attempted.\n\n### Redirecting mail in staging\n\n`overrideRecipientAddress` replaces `to` **and clears `cc` and `bcc`**. Redirecting\nonly `to` would still deliver copies to the real people named in the other two\nfields, which defeats the purpose on a database restored from production.\n\n## What the adapter maps\n\nPayload hands an adapter a nodemailer-shaped message, so every field below can\narrive in more forms than Payload itself ever produces.\n\n- **Addresses** (`from`, `to`, `cc`, `bcc`, `replyTo`) accept a string, a\n  `{ name, address }` object, or an array of either. A string holding a\n  comma-separated list is split on the separating commas only, so\n  `\"Doe, Jane\" <j@x.io>, a@y.io` stays two addresses. `reply_to` reaches\n  Lettermint as an array, which is what the API expects.\n- **Bodies** (`html`, `text`) accept a string, a `Buffer`, a stream, or a\n  `{ content }` wrapper. An empty body is omitted rather than sent, because\n  Lettermint rejects one shorter than three characters.\n- **Headers** accept both nodemailer shapes: a record (including `string[]` and\n  `{ prepared, value }` values) and an array of `{ key, value }`.\n- **`messageId`** is preserved via `X-LM-Preserve-Message-ID`, and `inReplyTo` /\n  `references` become the matching threading headers.\n- **Attachments** are base64-encoded. `cid` becomes `content_id` for inline\n  images. A declared `application/octet-stream` is dropped rather than sent,\n  because Lettermint blocks that type, and omitting it lets the API detect one\n  from the filename instead.\n\nAnything nodemailer-specific with no counterpart in the API is reported once per\nsend through `payload.logger.warn` rather than silently ignored. That covers\nmessage-level options (`envelope`, `dkim`, `list`, `icalEvent`, `amp`, `raw`,\n`priority`, …) and per-attachment ones (`raw`, `headers`,\n`contentTransferEncoding`), reported as `attachments[0].raw`.\n\n`contentDisposition: \"inline\"` is only reported when the attachment carries no\n`cid`, because a `content_id` is how Lettermint expresses inline in the first\nplace.\n\n## Errors\n\nA send that Lettermint refuses throws a `LettermintEmailError` carrying\n`statusCode`, the parsed `body`, and, for a `422`, the per-field `errors`:\n\n```ts\nimport { LettermintEmailError } from \"@abinnovision/payloadcms-email-lettermint\";\n\ntry {\n  await payload.sendEmail({ to, subject, html });\n} catch (error) {\n  if (error instanceof LettermintEmailError) {\n    // \"Lettermint rejected the message: from: The from domain is not verified.\"\n    payload.logger.error({ err: error, errors: error.errors });\n  }\n}\n```\n\nErrors propagate to the caller, so Payload's auth operations fail loudly when\nmail cannot be sent.\n\n## Limits\n\nLettermint enforces these, and the adapter passes them through rather than\nduplicating the rules:\n\n- 50 recipients per message across `to`, `cc` and `bcc`\n- 25 MB per message, counting the base64-encoded attachments\n- a subject of at most 998 characters\n- a blocklist of executable and script attachment types\n\nExceeding any of them comes back as a `422` with the offending field named.\n\n## Non-goals\n\n- **Retries.** Lettermint does not throttle the send endpoint, and Payload's\n  callers decide what a failed send means.\n- **Attachment `path`.** Resolving it would read a local file or fetch a URL at\n  send time; it is refused explicitly. Read the file yourself and pass `content`.\n- **Batch and inbound.** `POST /v1/send/batch` and inbound routes are outside\n  what a Payload email adapter is asked to do.\n- **Scheduled sending.** The Lettermint API has no send-time field.\n\n## License\n\nApache-2.0\n","readmeFilename":"README.md"}