{"_id":"@inboundemail/sdk","_rev":"12-3c42ed4072dc9af9417d771f3672b37f","name":"@inboundemail/sdk","dist-tags":{"latest":"4.4.0"},"versions":{"2.0.0":{"name":"@inboundemail/sdk","version":"2.0.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@2.0.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"0e8111b0d83ed8025d88f0277a2d75fd2fb92c38","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-2.0.0.tgz","fileCount":9,"integrity":"sha512-fFRaO8LMRlahNBW6daBkTz7H7QpSAKM+E4PKVRPMcDdqO4RCGGgZ5RUI/JBOLf/trJKmqgeYWdml6W7U6RiWDA==","signatures":[{"sig":"MEQCIFwrfiJ31L4Nhla7RV2wCWryoPYTRfty1vZZW2j6g968AiAAhYXARgGk4esjWuV4h/BqXPz6tJExU5NpknamTrunhg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121016},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"812c215ba290c541ee3310148837a5804e8283f9","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"10.9.0","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"22.7.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.0_1753036947391_0.7031718585884381","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"2.0.1":{"name":"@inboundemail/sdk","version":"2.0.1","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@2.0.1","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"45bc3a516a5a1566092c6c389784e72d4f750072","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-2.0.1.tgz","fileCount":9,"integrity":"sha512-FXiOLo1/eWU6TB5lVfnk+z5VQWLfRohcQzVIbV8iwc9PWktWnfXbMe/bAx9dJ7FNyRcOBFGMBAxAiqTC8iV7kg==","signatures":[{"sig":"MEUCIQCdlJu/L4ZLzaOXrKbyw4wfdB3V7mJwvoAaNdKRUorbQgIgJSB3eQnmqesNDeOGkOps4p7cbH+VIutIebCJ/slXFpg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120999},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"812c215ba290c541ee3310148837a5804e8283f9","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"10.9.0","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"22.7.0","dependencies":{"@inboundemail/sdk":"^2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_2.0.1_1753037226067_0.2999639667147649","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"3.0.0":{"name":"@inboundemail/sdk","version":"3.0.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@3.0.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"9e6edf21b9404bb0edfc77c33a33494fd3a256c3","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-3.0.0.tgz","fileCount":9,"integrity":"sha512-s0pShREYDlLk3S9vHVzR4YP8g1bNsFmzUWuHvx4Cy8+GPeeo7hqGZ7jtNTn1s0GFFpztJWaf54VjdiEolM93rg==","signatures":[{"sig":"MEUCIHwslTxRbwjdEq8KOzr8WbHwdUTHx5yN2cMpB+GLtC5gAiEA6Iope6J0juj5+rvMcJfsdJHPkuFIpdp6jbN2IT/D+WQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":112903},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"a06bd35bd126bcdc3f66ad7e9f82a040fdffd5d4","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_3.0.0_1754923760467_0.5355749256319962","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"3.1.0":{"name":"@inboundemail/sdk","version":"3.1.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@3.1.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"99ac78a70ee71350afa17534450c6a034b52c6e8","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-3.1.0.tgz","fileCount":9,"integrity":"sha512-KPl2/7EcF0ec2azDCrGF3IKR/iYj7GLaRFWr+QMKmzid/NJQEtKPpZbtAWi4zVeeMs+M/6t4n3TfzjBX93we+Q==","signatures":[{"sig":"MEUCIQD2dnEOkabRDybqKpFw2JH5GYWXNC1zUK2yUzJCi/oU1QIgH32gVhHKJ5E3VF5+e0rYOUDenx8IhF050PXsphhvJm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113001},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"e73c89ede3b98e35c220493a09275a8a22cba174","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","type-check":"tsc --noEmit","prepublishOnly":"npm run build"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"10.9.0","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"22.7.0","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_3.1.0_1755200812025_0.687599153069218","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.0.0":{"name":"@inboundemail/sdk","version":"4.0.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.0.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"37fe5007b4abbda8425c9121f070e4983170b5de","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.0.0.tgz","fileCount":9,"integrity":"sha512-4d4Zzazm3biWcwtAirD2MggysQQ1x3XfPnKCYO274OcnjLU1HuljcBeyTRmbcxpVG6GvmGVCMn3bYCrNBQMejQ==","signatures":[{"sig":"MEUCICIBdwxVwlQQukXjpWIRuH1yQ5WM7DdsHwYIfWWl2QK9AiEAjlf3QFw7lBvKNBDcpOZxbR/D+UbdI+R8Sr8kOXh1Was=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":153746},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"6422b1c4224e58e1031b2c956ba4c8e057d02f34","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:build":"npm run build && npm publish","publish:patch":"npm version patch && npm run build && npm publish","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","publish:breaking":"npm version major && npm run build && npm publish"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"10.9.0","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"22.7.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.0.0_1755443877048_0.09152242864855764","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.1.0":{"name":"@inboundemail/sdk","version":"4.1.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.1.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"e7fd833d18760f2eacf14760d8e82488bc714062","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.1.0.tgz","fileCount":9,"integrity":"sha512-RfnD3qodMhb6hKu+2MqSCpcUEWuDZGKB6UQzNX5quolswMJCTFcNVWKT5ubyYphvU7a7URu22CrMgHMk9A6Jyg==","signatures":[{"sig":"MEQCIHI3Uo6gvfrwrEuF7wp2GkzCPcMg4C0X35PN8ET2RMdxAiBKadXCjW3r5gsuKX/MRgdwQCUhEVEf2CUEpA8FL2HVnA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":183458},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"bae2992abf3bb525f39055412077d6e9235de1dd","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:build":"npm run build && npm publish","publish:patch":"npm version patch && npm run build && npm publish","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"npm version minor && npm run build && npm publish"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.1.0_1757105665220_0.34723640489694696","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.2.0":{"name":"@inboundemail/sdk","version":"4.2.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.2.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"fb46d11c0b36aa01c054509f78df60b4d9c3aa7a","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.2.0.tgz","fileCount":9,"integrity":"sha512-8XhvzUtmVID4BapJwnL8WLX+GGPzD2b+0/1aPbZEnOkunYTBKnXxHbDcnHEa2/fOJEjFhgmuvk1c3lPpe2MFMg==","signatures":[{"sig":"MEUCIQC8fe4MkBSs+EvluAM2uawGqcUs1wp5pguKkvfuDs/QXAIgQwhhcX9qcYLq0/wOlqaRVqlDBZ12NJNYUNLDEqD60Lw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":213526},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"71f7c7c3b7d7ac695a34da8fd72d76da361bf9a0","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:build":"npm run build && npm publish","publish:patch":"npm version patch && npm run build && npm publish","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"npm version minor && npm run build && npm publish"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.2.0_1757174677955_0.42252262383409933","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.2.1":{"name":"@inboundemail/sdk","version":"4.2.1","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.2.1","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"633e62fe78d0549eb9aa68f6c45f0eda8f9557ba","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.2.1.tgz","fileCount":9,"integrity":"sha512-c8A3tpZXeDhb/rvSwbdsEuaE+0MFIljPUF7qYww1TJuk/gmdQnO14eVEoAmMU/UdveV1TB1ZDtdAnDyaTOqhhg==","signatures":[{"sig":"MEYCIQCDhKBCEvTfk8Oh3B0eCaevWTPNTm/SXWxiN3Bc6pJZeQIhANrur4OBF1ez7F/tijVrpyRPZ6T+dSq+bG9LkCjiOrb/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214416},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"71f7c7c3b7d7ac695a34da8fd72d76da361bf9a0","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","publish:dual":"bun run scripts/dual-publish.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:major":"bun run scripts/dual-version.ts major && bun run publish:dual","publish:minor":"bun run scripts/dual-version.ts minor && bun run publish:dual","publish:patch":"bun run scripts/dual-version.ts patch && bun run publish:dual","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","publish:single":"npm run build && npm publish","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"bun run scripts/dual-version.ts minor && bun run publish:dual"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.2.1_1757181689284_0.6238209001780468","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.3.0":{"name":"@inboundemail/sdk","version":"4.3.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.3.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"058b5730d5a53bb43248b25af32cbf87cd075b28","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.3.0.tgz","fileCount":9,"integrity":"sha512-UkKnPmGgRVyaJRp6T9Z0fv6C9b0Jz18BchR3HFmC/AiB3K57yhIPKQbdgu2EhkrwsTwwag7nIqec3UB51btMvA==","signatures":[{"sig":"MEUCIECMDNPx9ZhTSrKun2t7I7TvvvnE18YannYEwpaZNKLDAiEAyb9PiT8vwEJlZmdrwibaWjcZgNKhzVm1G+Ik13Zw+wU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214648},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"949cd044def0ee002a3b447517dd17a86b334146","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","publish:dual":"bun run scripts/dual-publish.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:major":"bun run scripts/dual-version.ts major && bun run publish:dual","publish:minor":"bun run scripts/dual-version.ts minor && bun run publish:dual","publish:patch":"bun run scripts/dual-version.ts patch && bun run publish:dual","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","publish:single":"npm run build && npm publish","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"bun run scripts/dual-version.ts minor && bun run publish:dual"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.3.0_1759179840444_0.4723565105776515","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.3.1":{"name":"@inboundemail/sdk","version":"4.3.1","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.3.1","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"7a645b4465dec6d29e2c3046d7418c56b9883faa","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.3.1.tgz","fileCount":9,"integrity":"sha512-WHyGHnGa5Kyzd/rJW4p/XJVqwx9s/e2LgqO3eL1+XCpu3xAU3W8A7oHs1l5kD3kakMuEjAoLacAp+xT3P58q6w==","signatures":[{"sig":"MEYCIQCAHT+up5L/S5ITLUI0QXRu3WHM/90BqIYcNl5e+NZdxAIhAPpK/Qzeihdq6/SMtP6tv6ztzBf77RNVDu2HzERKgGoK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":214980},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"fe396deb48dce9e040e2e4023916dfaea681937d","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","publish:dual":"bun run scripts/dual-publish.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:major":"bun run scripts/dual-version.ts major && bun run publish:dual","publish:minor":"bun run scripts/dual-version.ts minor && bun run publish:dual","publish:patch":"bun run scripts/dual-version.ts patch && bun run publish:dual","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","publish:single":"npm run build && npm publish","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"bun run scripts/dual-version.ts minor && bun run publish:dual"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"24.3.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.3.1_1760924254874_0.4380964056892094","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"},"4.4.0":{"name":"@inboundemail/sdk","version":"4.4.0","keywords":["inbound","email","api","sdk","typescript"],"author":{"name":"Inbound Email"},"license":"MIT","_id":"@inboundemail/sdk@4.4.0","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"homepage":"https://github.com/inboundemail/sdk#readme","bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"dist":{"shasum":"6122dd12d98911c8b04eb2690e9e1a19dabc17e7","tarball":"https://registry.npmjs.org/@inboundemail/sdk/-/sdk-4.4.0.tgz","fileCount":9,"integrity":"sha512-DChj0xIMeTZCgoTJ+iQm1r8JadqOj/5+EmGCK7pG9mtP2Q6mfG6OsCa8E4q/0nu4lTSrgl/OQdDHZzwWdcfA4g==","signatures":[{"sig":"MEUCIQDZaozudybh27pjm+uuQLD09B8adFHOeLryVyrVOZXyUwIgAvKeLB04aCumKd/UE6mv9jW/y3kqsqsPR0aNE6Ew5Ns=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":234090},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=16.0.0"},"gitHead":"f3270737805de4e5b16dbb90f384c56d8cd93bcd","scripts":{"dev":"tsup --watch","lint":"eslint src --ext .ts,.tsx","test":"bun test sdk.test.ts","build":"tsup","test:ci":"bun test sdk.test.ts --reporter=verbose","lint:fix":"eslint src --ext .ts,.tsx --fix","test:all":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts","test:cid":"bun test sdk.cid.test.ts","test:send":"bun test sdk.send.test.ts","test:react":"bun test sdk.react.test.ts","type-check":"tsc --noEmit","test:all:ci":"bun test sdk.test.ts sdk.send.test.ts sdk.react.test.ts sdk.cid.test.ts sdk.simple-reply.test.ts --reporter=verbose","test:cid:ci":"bun test sdk.cid.test.ts --reporter=verbose","test:simple":"bun test sdk.simple-reply.test.ts","publish:dual":"bun run scripts/dual-publish.ts","test:send:ci":"bun test sdk.send.test.ts --reporter=verbose","publish:major":"bun run scripts/dual-version.ts major && bun run publish:dual","publish:minor":"bun run scripts/dual-version.ts minor && bun run publish:dual","publish:patch":"bun run scripts/dual-version.ts patch && bun run publish:dual","test:react:ci":"bun test sdk.react.test.ts --reporter=verbose","prepublishOnly":"npm run build","publish:single":"npm run build && npm publish","test:simple:ci":"bun test sdk.simple-reply.test.ts --reporter=verbose","publish:breaking":"bun run scripts/dual-version.ts minor && bun run publish:dual"},"_npmUser":{"name":"mandarin3d","email":"ryan@mandarin3d.com"},"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"_npmVersion":"10.9.4","description":"Official SDK for Inbound Email API","directories":{},"_nodeVersion":"22.21.0","dependencies":{"react":"^18.0.0","react-dom":"^18.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","eslint":"^8.0.0","bun-types":"latest","typescript":"^5.0.0","@types/node":"^20.0.0","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@react-email/components":"^0.0.25","@typescript-eslint/parser":"^8.39.0","@typescript-eslint/eslint-plugin":"^8.39.0"},"peerDependencies":{"react":">=16.8.0","react-dom":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_4.4.0_1762095362655_0.8101307893535985","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has been deprecated. Please use 'inboundemail' instead: npm install inboundemail"}},"time":{"created":"2025-07-20T18:42:27.294Z","modified":"2026-01-22T18:40:20.957Z","2.0.0":"2025-07-20T18:42:27.601Z","2.0.1":"2025-07-20T18:47:06.252Z","3.0.0":"2025-08-11T14:49:20.663Z","3.1.0":"2025-08-14T19:46:52.226Z","4.0.0":"2025-08-17T15:17:57.247Z","4.1.0":"2025-09-05T20:54:25.421Z","4.2.0":"2025-09-06T16:04:38.212Z","4.2.1":"2025-09-06T18:01:29.499Z","4.3.0":"2025-09-29T21:04:00.633Z","4.3.1":"2025-10-20T01:37:35.069Z","4.4.0":"2025-11-02T14:56:02.872Z"},"bugs":{"url":"https://github.com/inboundemail/sdk/issues"},"author":{"name":"Inbound Email"},"license":"MIT","homepage":"https://github.com/inboundemail/sdk#readme","keywords":["inbound","email","api","sdk","typescript"],"repository":{"url":"git+https://github.com/inboundemail/sdk.git","type":"git"},"description":"Official SDK for Inbound Email API","maintainers":[{"name":"mandarin3d","email":"ryan@mandarin3d.com"}],"readme":"# @inboundemail/sdk\n\nThe official SDK for the Inbound Email API v2. This SDK provides a simple and intuitive hierarchical interface for managing email receiving, sending, domains, email addresses, and webhook endpoints.\n\n**Version 4.0.0** introduces a new hierarchical structure with `inbound.email.address.*` methods and consistent `{ data, error }` response patterns.\n\n## Installation\n\nChoose your preferred package name - both contain identical functionality:\n\n```bash\n# Full scoped name\nnpm install @inboundemail/sdk\n\n# Short alias\nnpm install inbnd\n```\n\nBoth packages are published simultaneously and contain the same code. Use whichever name you prefer!\n\n## Quick Start\n\nBoth package names work identically:\n\n```typescript\n// Using full scoped name\nimport { Inbound } from '@inboundemail/sdk'\n\n// Or using short alias  \nimport { Inbound } from 'inbnd'\n\nconst inbound = new Inbound(process.env.INBOUND_API_KEY!)\n\n// Send an email (with { data, error } pattern)\nconst { data: email, error } = await inbound.email.send({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Hello World',\n  html: '<h1>Hello World</h1><p>This is your first email!</p>',\n})\n\nif (error) {\n  console.error('Failed to send email:', error)\n} else {\n  console.log('Email sent:', email.id)\n}\n```\n\n## 🏗️ Unified Email API (New in v5.0.0)\n\nThe SDK now uses a unified email structure under `inbound.email.*`:\n\n```typescript\n// 📧 Received Email Management (NEW - unified under email.received)\ninbound.email.received.list()           // List received emails\ninbound.email.received.get(id)          // Get specific received email\ninbound.email.received.thread(id)       // Get email thread\ninbound.email.received.markRead(id)     // Mark as read\ninbound.email.received.archive(id)      // Archive email\ninbound.email.received.reply(params)    // Reply to received email\n\n// 📤 Sent Email Management (NEW - organized under email.sent)\ninbound.email.send(data)                // Send email immediately\ninbound.email.schedule(data)            // Schedule email\ninbound.email.sent.get(id)              // Get sent email by ID\ninbound.email.sent.reply(id, data)      // Reply to sent email\ninbound.email.sent.listScheduled()      // List scheduled emails\ninbound.email.sent.getScheduled(id)     // Get specific scheduled email\ninbound.email.sent.cancel(id)           // Cancel scheduled email\n\n// 🔄 Universal Email Access\ninbound.email.get(id)                   // Get ANY email (received or sent)\n\n// 📮 Email Address Management (nested under email)\ninbound.email.address.create(data)      // Create email address\ninbound.email.address.list()            // List email addresses\ninbound.email.address.get(id)           // Get address details\ninbound.email.address.update(id, data)  // Update address routing\ninbound.email.address.delete(id)        // Remove address\n\n// 🌐 Domain Management\ninbound.domain.create(data)             // Add new domain\ninbound.domain.list()                   // List all domains\ninbound.domain.verify(id)               // Verify domain\ninbound.domain.getDnsRecords(id)        // Get DNS records\n\n// 🔗 Endpoint Management (Webhooks & Forwarding)\ninbound.endpoint.create(data)           // Create endpoint\ninbound.endpoint.list()                 // List endpoints\ninbound.endpoint.test(id)               // Test endpoint\n```\n\n### ⚠️ Deprecated Methods\n\nThe old `inbound.mail.*` methods are deprecated but still work with console warnings:\n\n```typescript\n// ❌ DEPRECATED - Will be removed in v6.0.0\ninbound.mail.list()           // Use inbound.email.received.list() instead\ninbound.mail.get(id)          // Use inbound.email.received.get() instead\ninbound.mail.markRead(id)     // Use inbound.email.received.markRead() instead\n// ... etc\n```\n\n## 📊 Response Pattern\n\nAll methods now return a consistent `{ data, error }` pattern:\n\n```typescript\n// Success case\nconst { data, error } = await inbound.mail.list()\nif (error) {\n  console.error('Error:', error)\n  return\n}\nconsole.log('Emails:', data.emails)\n\n// Or with destructuring\nconst { data: emails, error: emailsError } = await inbound.mail.list()\nconst { data: domains, error: domainsError } = await inbound.domain.list()\n```\n\n## Streamlined Webhook Replies\n\nThe SDK includes a streamlined `reply()` method that makes it easy to reply to emails directly from webhook handlers:\n\n### Quick Setup\n\n```typescript\n// Works with either package name\nimport { Inbound, type InboundWebhookPayload, isInboundWebhook } from '@inboundemail/sdk'\n// import { Inbound, type InboundWebhookPayload, isInboundWebhook } from 'inbnd'\nimport { NextRequest, NextResponse } from 'next/server'\n\nconst inbound = new Inbound(process.env.INBOUND_API_KEY!)\n\nexport async function POST(request: NextRequest) {\n  const payload: InboundWebhookPayload = await request.json()\n  \n  if (!isInboundWebhook(payload)) {\n    return NextResponse.json({ error: 'Invalid webhook' }, { status: 400 })\n  }\n  \n  const { email } = payload\n  \n  // Reply to emails with new { data, error } pattern\n  const { data, error } = await inbound.reply(email, {\n    from: 'support@yourdomain.com',\n    text: 'Thanks for your message! We\\'ll get back to you soon.'\n  })\n\n  if (error) {\n    console.error('Reply failed:', error)\n    return NextResponse.json({ error }, { status: 500 })\n  }\n\n  return NextResponse.json({ success: true, messageId: data.messageId })\n}\n```\n\n## 📮 Email Address Management\n\nThe new hierarchical structure makes email address management more intuitive:\n\n```typescript\n// List all email addresses\nconst { data: addresses, error } = await inbound.email.address.list()\n\n// Create a new email address\nconst { data: newAddress, error: createError } = await inbound.email.address.create({\n  address: 'support@yourdomain.com',\n  domainId: 'domain-123'\n})\n\n// Update routing for an email address\nconst { data: updated, error: updateError } = await inbound.email.address.update('address-123', {\n  endpointId: 'webhook-456',\n  isActive: true\n})\n\n// Delete an email address\nconst { data: deleted, error: deleteError } = await inbound.email.address.delete('address-123')\n```\n\n## 🌐 Domain Management\n\n```typescript\n// Create and verify a domain\nconst { data: domain, error } = await inbound.domain.create({\n  domain: 'yourdomain.com'\n})\n\nif (!error) {\n  // Get DNS records needed for verification\n  const { data: dnsRecords } = await inbound.domain.getDnsRecords(domain.id)\n  console.log('Add these DNS records:', dnsRecords)\n  \n  // Verify domain after DNS setup\n  const { data: verification } = await inbound.domain.verify(domain.id)\n}\n```\n\n## 🔗 Endpoint Management\n\n```typescript\n// Create a webhook endpoint\nconst { data: webhook, error } = await inbound.endpoint.create({\n  name: 'My Webhook',\n  type: 'webhook',\n  config: {\n    url: 'https://yourapp.com/webhook',\n    timeout: 30000,\n    retryAttempts: 3\n  }\n})\n\n// Test the endpoint\nif (!error) {\n  const { data: testResult } = await inbound.endpoint.test(webhook.id)\n  console.log('Test result:', testResult)\n}\n```\n\n## 🎯 Convenience Methods\n\n```typescript\n// Quick reply to an email\nconst { data, error } = await inbound.quickReply(\n  'email-123', \n  'Thanks for your message!', \n  'support@yourdomain.com',\n  { idempotencyKey: 'quick-reply-123' }\n)\n\n// One-step domain setup with webhook\nconst { data: setup } = await inbound.setupDomain(\n  'newdomain.com',\n  'https://yourapp.com/webhook'\n)\n\n// Create email forwarder\nconst { data: forwarder } = await inbound.createForwarder(\n  'info@yourdomain.com',\n  'team@yourdomain.com'\n)\n\n// Schedule a reminder\nconst { data: reminder } = await inbound.scheduleReminder(\n  'user@example.com',\n  'Meeting Tomorrow',\n  'tomorrow at 9am',\n  'reminders@yourdomain.com',\n  { idempotencyKey: 'reminder-meeting-456' }\n)\n```\n\n## 🔄 Legacy Compatibility\n\nAll previous method names still work for backwards compatibility:\n\n```typescript\n// These are equivalent:\ninbound.email === inbound.emails\ninbound.domain === inbound.domains  \ninbound.endpoint === inbound.endpoints\ninbound.email.address === inbound.emailAddresses\n\n// Legacy usage still works:\nconst { data } = await inbound.emails.send(emailData)\nconst { data } = await inbound.domains.list()\n```\n\n## 📧 Email Sending & Scheduling\n\n### Send Immediate Email\n\n```typescript\nconst { data: email, error } = await inbound.email.send({\n  from: 'hello@yourdomain.com',\n  to: ['user@example.com', 'admin@example.com'],\n  subject: 'Welcome!',\n  html: '<h1>Welcome to our service!</h1>',\n  text: 'Welcome to our service!',\n  attachments: [\n    {\n      filename: 'welcome.pdf',\n      path: './welcome.pdf'\n    }\n  ]\n})\n```\n\n### Schedule Email\n\n```typescript\nconst { data: scheduled, error } = await inbound.email.schedule({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Scheduled Email',\n  html: '<p>This email was scheduled!</p>',\n  scheduled_at: 'in 1 hour',           // Natural language\n  timezone: 'America/New_York'\n})\n\n// Or with specific date\nconst { data: scheduled2 } = await inbound.email.schedule({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'New Year Email',\n  html: '<p>Happy New Year!</p>',\n  scheduled_at: '2024-01-01T00:00:00Z'  // ISO 8601\n})\n```\n\n### Manage Scheduled Emails\n\n```typescript\n// List scheduled emails\nconst { data: scheduledEmails } = await inbound.email.listScheduled({\n  status: 'scheduled',\n  limit: 10\n})\n\n// Get specific scheduled email\nconst { data: scheduledEmail } = await inbound.email.getScheduled('email-id')\n\n// Cancel scheduled email\nconst { data: cancelled } = await inbound.email.cancel('email-id')\n```\n\n## 📬 Inbound Email Management\n\n```typescript\n// List received emails\nconst { data: emails } = await inbound.mail.list({\n  limit: 50,\n  status: 'processed',\n  timeRange: '7d'\n})\n\n// Get specific email\nconst { data: email } = await inbound.mail.get('email-123')\n\n// Get email thread/conversation\nconst { data: thread } = await inbound.mail.thread('email-123')\n\n// Mark email as read/unread\nawait inbound.mail.markRead('email-123')\nawait inbound.mail.markUnread('email-123')\n\n// Archive/unarchive emails\nawait inbound.mail.archive('email-123')\nawait inbound.mail.unarchive('email-123')\n\n// Bulk operations\nconst { data: result } = await inbound.mail.bulk(\n  ['email-1', 'email-2', 'email-3'],\n  { isRead: true }\n)\n```\n\n## 🔧 Advanced Usage\n\n### React Email Components\n\n```typescript\nimport { EmailTemplate } from './EmailTemplate'\n\nconst { data, error } = await inbound.email.send({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Welcome!',\n  react: EmailTemplate({ name: 'John', welcomeUrl: 'https://app.com' })\n})\n```\n\n### Idempotency\n\nPrevent duplicate emails by using idempotency keys:\n\n```typescript\nconst { data, error } = await inbound.email.send({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Important Email',\n  text: 'This email will only be sent once'\n}, {\n  idempotencyKey: 'unique-key-123'\n})\n\n// Works with all email sending methods\nawait inbound.email.schedule({\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Scheduled Email',\n  text: 'This scheduled email is idempotent',\n  scheduled_at: 'tomorrow at 9am'\n}, {\n  idempotencyKey: 'scheduled-email-456'\n})\n\n// Also works with replies\nawait inbound.email.reply('email-123', {\n  from: 'support@yourdomain.com',\n  text: 'This reply will only be sent once'\n}, {\n  idempotencyKey: 'reply-789'\n})\n```\n\n## 🛠️ Error Handling\n\n```typescript\nconst { data, error } = await inbound.email.send(emailData)\n\nif (error) {\n  // Handle different error types\n  if (error.includes('Invalid API key')) {\n    console.error('Authentication failed')\n  } else if (error.includes('Rate limit')) {\n    console.error('Rate limit exceeded')\n  } else {\n    console.error('Unknown error:', error)\n  }\n  return\n}\n\n// Success case\nconsole.log('Email sent successfully:', data.id)\n```\n\n## 📚 TypeScript Support\n\nThe SDK is fully typed with TypeScript:\n\n```typescript\n// Type imports work with either package name\nimport type { \n  ApiResponse,\n  PostEmailsRequest,\n  PostEmailsResponse,\n  InboundWebhookPayload \n} from '@inboundemail/sdk'\n// } from 'inbnd'\n\n// Type-safe email sending\nconst emailRequest: PostEmailsRequest = {\n  from: 'hello@yourdomain.com',\n  to: 'user@example.com',\n  subject: 'Typed Email',\n  html: '<p>This is type-safe!</p>'\n}\n\nconst response: ApiResponse<PostEmailsResponse> = await inbound.email.send(emailRequest)\n```\n\n## 🔗 Links\n\n- [API Documentation](https://docs.inbound.new)\n- [GitHub Repository](https://github.com/inboundemail/sdk)\n- NPM Packages:\n  - [@inboundemail/sdk](https://www.npmjs.com/package/@inboundemail/sdk) - Full scoped name\n  - [inbnd](https://www.npmjs.com/package/inbnd) - Short alias\n\n## 📄 License\n\nMIT License - see LICENSE file for details. ","readmeFilename":"README.md"}