{"_id":"@astralibx/email-account-manager","_rev":"23-7f35e0575fbbd7faecd0e6308180c06e","name":"@astralibx/email-account-manager","dist-tags":{"latest":"10.6.4"},"versions":{"2.0.0":{"name":"@astralibx/email-account-manager","version":"2.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@2.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"3749b5f414dc56e38efd9730a99caf3c23b5ed96","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-2.0.0.tgz","fileCount":8,"integrity":"sha512-Jhje0x4FmIWgyR4GG8+Par65gKW6AAohtHvA39tFxSoOvCafKcaOM5hXAXuVyDbY8RXujIOGCbNHizx6fLwofw==","signatures":[{"sig":"MEUCIQDtkkfd4y7IQeuPFa+7LsOuQ2stbCX5vk/n7S0qXPB0GAIgUXAHriP59HWBFRYAFJ38iD7S+R9GAKPir14jy5FARtY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":780421},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"ca88ea43deed97c3fc1e2446073d8f727133cebf","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_2.0.0_1773485592549_0.5449069195641736","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@astralibx/email-account-manager","version":"2.0.1","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@2.0.1","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"9b54a0f19a2b14b17aee19f2fdb7eb3621b31298","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-2.0.1.tgz","fileCount":8,"integrity":"sha512-gilfgWyWnNW9WrMxsBlttqpz6gN0sCN4xQhmj1T9urGpgyoFAXxOHmQGM03Q/LKrkJh8HvLVCKlGhahliAS2Mw==","signatures":[{"sig":"MEYCIQDYCd329wL4XaaJ1UrAiTkC9+lEIAwYpsHXpMR0YhV1ZgIhAL7KouytmsqfndP+FkUc06Qra9MwzwjpoABemPq75/1a","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":780420},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"9b1ad4706fcedeb054abe862daf3a9b9c7d2e17b","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_2.0.1_1773485817981_0.7385569281544813","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@astralibx/email-account-manager","version":"2.0.2","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@2.0.2","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"69dbef12e9c252eb45605a55fba879146a577417","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-2.0.2.tgz","fileCount":8,"integrity":"sha512-Eck6/qdP9k7ZkztDDKvIq9+KiYi+EBgG4I4oFpHVVXKbpDN4BjcgW1Mg4GipHv0iGpgEfIZKs/IsiETbe+A3Bg==","signatures":[{"sig":"MEUCIQDq5s4KhQp/4FVZ+CGcXDNXpryuTHPTw1FvEPQs8KgpjQIgNfZEPbCj+HHdEefQN3t596VFSS6ISRzRHFoMfdd2tSs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":782630},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"8ce48711b5e81900520d103431334d8c727e1632","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_2.0.2_1773486357281_0.7776261245049927","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@astralibx/email-account-manager","version":"3.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@3.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"f67b4f602d794bf2593704293382e58bd2389f91","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-3.0.0.tgz","fileCount":8,"integrity":"sha512-dcw8Ep5OTUwkNjIeNZrcWLq0vhj94gu2qnALYC37jxU0Hj08YUu1zoxIgu/zeaZt3glLVLN6ykt4Au7Iu8iHrw==","signatures":[{"sig":"MEQCICavzM4tQ42oNd7j3CQYD5P/b17bfy+8rGwf/rJ2zVyGAiBmrA4uFsBGi3kRRLMFpVTjkiG2UvSHjDi1MQU8KHsVpA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":783313},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"c27cfbb451f447428b37fbd2c06109b05a1e7deb","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_3.0.0_1773511076991_0.6967843584843978","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@astralibx/email-account-manager","version":"4.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@4.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"52235a7a476702b287067ceb107cd38620f599d4","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-4.0.0.tgz","fileCount":8,"integrity":"sha512-3Spyre0B5llrMpSeipYPuEoUZF3HHxkpt813NgPRluwVUdROKZmaWlpPvp0+ttlAZsv4Mw/gZ5YoBwno1s2ieg==","signatures":[{"sig":"MEYCIQDvBK8sV9KqzJ5bzOkAn10Zwx5I8kNv6NjWnzAAYf1x5gIhAJ7RpPrSbuPeVEmMlhMM6mbMDwq9/vmcLOioUZfLrLbk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":787704},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"bc63efa7497c5471a74cf36dddf6b24fdaea846a","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_4.0.0_1773538299410_0.8526394073842944","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"@astralibx/email-account-manager","version":"5.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@5.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"6c3636552703032b0eb7ecd6e839439028bc661f","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-5.0.0.tgz","fileCount":8,"integrity":"sha512-SIgmJV+4W65+kRtAdYiEUl6TJr0AE6cumuS5X4bdmy0cp8dmTbWpR/b0km0uJZgSRUOLdmA+QKCiHJW5by81RQ==","signatures":[{"sig":"MEYCIQD0QNeZ9m9IykOuPXxD1ji0AwFqVzHySFD7gDDxUJlWGAIhAMZoAGJCtaMu7jtHZsIB2UNbMsz5qmfdL6ziGdtwF0sw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":787704},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"6873cc5ab41179f97ac3613cacff82e8bae91fc7","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_5.0.0_1773540103382_0.6180639015195601","host":"s3://npm-registry-packages-npm-production"}},"6.0.0":{"name":"@astralibx/email-account-manager","version":"6.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@6.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"9b770fa49a4656238f0ff4f776a26dab59bcd211","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-6.0.0.tgz","fileCount":8,"integrity":"sha512-OyMiOhaOa5yQs8VQOzAB9UsR9kxCMh0P9zSd6ca7g8WDOzyIGcDX+OO6X8WkYXXM7saQbwRPPov97ebLI+w4nQ==","signatures":[{"sig":"MEYCIQDOTZKZ5Q0iPI0PshIhlaMFjt1wKZ8+x5fYOzjW7NAgoAIhALKkOiiiofJlE7Ns2cXeO+d08AD6u0I7mFWicV+p/hM5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":787494},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"1fa36fe6e7ea052c036db9beafddb56604792989","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_6.0.0_1773546211198_0.7595056537055289","host":"s3://npm-registry-packages-npm-production"}},"7.0.0":{"name":"@astralibx/email-account-manager","version":"7.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@7.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"ce82071fb788fa4ba95bb103c5371f3177e48d6e","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-7.0.0.tgz","fileCount":8,"integrity":"sha512-Fn2x7xeHeByrNVFb0s8R0FUfMqlkaetzx8TiY7OqwN+XjbVVoXxKlIGcggZct6xTRzubuvYscmX/46CKmYgALg==","signatures":[{"sig":"MEYCIQDnn4uDp8Q97GFDhVEoRe2HJMJzoJxdN8cJm/w1XVQRMAIhALB7sNSFlCdzkTfLJiheX2P8LOtshqwhYTicMX4lmkUO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":787497},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"d7ab6788c230bddad77a9a36c2d0a5a154088941","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_7.0.0_1773549352907_0.030983698467474508","host":"s3://npm-registry-packages-npm-production"}},"8.0.0":{"name":"@astralibx/email-account-manager","version":"8.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@8.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"bd5d76047babc2faad55786c1925c3349b7bfaa1","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-8.0.0.tgz","fileCount":8,"integrity":"sha512-p09neI5DM9+RXL08fRjdUbEIRWXQZ8j25u8cJqKs9X5hdtjHCgwfauc2ybQLrPVMDYlhBa52SrTG8hE9Zz8M2A==","signatures":[{"sig":"MEUCIFD4OblGRv+regp4Gj0QMDwnZXRPtz4kh9Ms40xqJAZ+AiEA/HoNUHkTZGrKL93qXTAwAx4NI7+2r4/udQ7waQTkbm0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":787489},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"0103f0940498c2ec9b494d07b264b73ce655fb8b","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_8.0.0_1773562917049_0.3948203161418895","host":"s3://npm-registry-packages-npm-production"}},"8.0.1":{"name":"@astralibx/email-account-manager","version":"8.0.1","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@8.0.1","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"0dd5f3b9c78a42dcb440b1b095d676054ee8e5a9","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-8.0.1.tgz","fileCount":8,"integrity":"sha512-Qe0LwPRKoTIOK26/bcBLJOYANjFsPsQWPB9lXu5DEdYXJo7GcHqdppIzakm9rOhw5+tbuGU7afSjk1FAfZLNKA==","signatures":[{"sig":"MEYCIQCIr0o2xpjv4U3Ddb1Ahcb4TAFO5cseeTfeCIavoLKbFwIhAOXBASySIUPq9MGkSK5GWMK8hDTi1QWr4+PPoheJM6Fo","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":786535},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"4fdc68d583e48b1bbf7a9049e2833448b9b912e4","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_8.0.1_1773575115731_0.8806519783415969","host":"s3://npm-registry-packages-npm-production"}},"9.0.0":{"name":"@astralibx/email-account-manager","version":"9.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@9.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"3f59cc0c5450bcd0adc2b655b2b2629c6ab79683","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-9.0.0.tgz","fileCount":8,"integrity":"sha512-XRytdkml4G331hstLbR9fkHMobwuh5rjZeDgwGLQ1aug8zilQDJmRsKTkoYDhi0HFlMbFKgyPfSnc4MRydbSKw==","signatures":[{"sig":"MEQCIGtiZUEmle73/TzNqefs9DlpMt+n7T06D7aN8P1bN2HQAiARl95HtIlTjozYmjPs4Ksu4OdPHOl8yNzt1dP9S4VSFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":786686},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"a2c976dc78d20fc57f063d25c8d30764dcdafe66","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_9.0.0_1773575479469_0.3014916502536331","host":"s3://npm-registry-packages-npm-production"}},"10.0.0":{"name":"@astralibx/email-account-manager","version":"10.0.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.0.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"b8731df50d0672a62dce68753365c5df072ef3de","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.0.0.tgz","fileCount":8,"integrity":"sha512-W5TzIVze2GX1sL7sRC9Rf0L3FYPx2vvM3rmUPd2aL4+6tD6riOl4r8IZKiHAwvm7o8l1sQpxW9kl7QRTNc5KSA==","signatures":[{"sig":"MEQCIF/ikyQ8iTHgnoBbuiQ6qehJtcZ28AZGp3AFWIG08tsTAiAqHrL5qpOCYGObld0Wjdnn19YH1/qvr6gvkcDt41vhMA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":786687},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"95209bdd81a828b787796473ae5998a48b8045a1","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.0.0_1773576046019_0.7839966478972014","host":"s3://npm-registry-packages-npm-production"}},"10.0.1":{"name":"@astralibx/email-account-manager","version":"10.0.1","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.0.1","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"dist":{"shasum":"3c4b4e03162b81078a3665b17fb128394d39b886","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.0.1.tgz","fileCount":8,"integrity":"sha512-bAOXxD9U1aRGJhXq+rm6EUKILGC8j0d2qfQDYIHrv3x/a+CLs8mQkmLGwjTMCAf67Co+m+kh7z3ZsgsTFhmDWQ==","signatures":[{"sig":"MEQCIB4T+Rcl8qBckc/f96zvkIXLAH5OUOAhnBbQ9pOMFGWWAiAeQohdLmsPVr2MIkNrv+yRzmErJOPvWjyf5nL+mF6YhQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":789821},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"c52103fc27a2ed8c5d9226cd39c68ff30c6bc8a6","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.0.1_1773579945645_0.8850434909367224","host":"s3://npm-registry-packages-npm-production"}},"10.1.0":{"name":"@astralibx/email-account-manager","version":"10.1.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.1.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"05bb918a8869052ce5f6ad223e6bfaa7121edaab","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.1.0.tgz","fileCount":8,"integrity":"sha512-w/poxyVo9aT+NGShWU43y6k+eKqGzek0I+hQ6o6E8mreXE9PhxoElVZVz68/1JgvLNqgO0vs5zw/QWek98lHpQ==","signatures":[{"sig":"MEYCIQCbmyBDtjlRwC/J5fW46l09mk4qDC0+l2U2wXJn85ujaAIhANF07nq3PiYeIJtJfL68LLcesu0HmlpMBHSfnZQ+JF92","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":795567},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"69c122eb51c8a0eb112faa1dbe0a690e6163cc8b","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email-account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.1.0_1773587159773_0.916269653949932","host":"s3://npm-registry-packages-npm-production"}},"10.2.0":{"name":"@astralibx/email-account-manager","version":"10.2.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.2.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"72f45dbc7a752ebe42d9573e7cb9ec2f2fcfdc9e","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.2.0.tgz","fileCount":8,"integrity":"sha512-esSqK7MLkBTCOoIZB0j0zA2a42Evl9dkSKZseEttWJ99SAuP/e4TTw1km6HdcRDWfjqvtt0ZSaJBpt4oSlUyQg==","signatures":[{"sig":"MEQCIEOuMNtgoU0tVy0y8D/XNJW9Bg5UqxE7oAILmctNzx55AiA9+NyCWj4nmjFeB4wP71LVTP/LKUuQi/RAMALxgmBcQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":798471},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"d5f2ee75eceea9a6c9babd53815731dfe701d4e7","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email-account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.2.0_1773634626765_0.07817980468577046","host":"s3://npm-registry-packages-npm-production"}},"10.3.0":{"name":"@astralibx/email-account-manager","version":"10.3.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.3.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"b8aee78c5358d17cf4a37a998a7ba2d8169cabc1","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.3.0.tgz","fileCount":8,"integrity":"sha512-iaOV3bKQDt3scEfUwFCtLPFKzWgks8VXBVUyX+3aWk3zs7Dq5hcOS2UaUoDWePC6Qh0ee9xXWTb25oiBWOC3xQ==","signatures":[{"sig":"MEQCIDclaQcVulGhVGHdm4vufCqwpKgVFaLqMEWhPO+OAI3uAiB+6jSJCokD44tBuUq6TFHCc0JRTlVYyl3svxuj2Xf6OQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":799139},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"1b80ecc30df1e603d5bfea3b250b6f1a76b259e9","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email-account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.3.0_1773657808493_0.4208025375293032","host":"s3://npm-registry-packages-npm-production"}},"10.4.0":{"name":"@astralibx/email-account-manager","version":"10.4.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.4.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"4f44f32b62efda31928d70ffcf50a44dcb0bae75","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.4.0.tgz","fileCount":8,"integrity":"sha512-NC2NHAPoQUn/CA+baeq2L3hCT5pKksXrBEbvMmBhrVXDWs5Fw1DVCvbNwp3uWNQ4mb0xyVCuEqdimdKtVQyqNg==","signatures":[{"sig":"MEUCIEsb/nAq5SoLDmD0zDScIjrgxOUBuyYkBry8ruXNVHddAiEAqsqmnfNSWVuMPz/CS+hS4BfYUzMin3SEqSnxAoPkBgY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":801849},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"d9e18791e91ee363a9f1cc3dc521dfbc8daae4f4","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email-account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.4.0_1773669874566_0.6398591523931696","host":"s3://npm-registry-packages-npm-production"}},"10.5.0":{"name":"@astralibx/email-account-manager","version":"10.5.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.5.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"f61c831af9209fcbadbbb19849b35ed8ada4d7b2","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.5.0.tgz","fileCount":8,"integrity":"sha512-ZsWqQTS58bnMQDBqBur+KBoxm7DczxFhPR9MEXDhswXLo+wcjFQTtmJZIneB1jW5hyA8MF6fHLFKiCMt6Uh6EA==","signatures":[{"sig":"MEUCIQDn7xNorRNnF4Js7Nq6wlX3zWeKredCILxHhnZqOVQ1CAIgUQtIbWvcpec/BFMVT/0RIChUS5PecMjfo7bhvK4EYJQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":801850},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"5170469866f6a25acd492d3ca545a9fdad9c8042","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email-account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.0","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.5.0_1773674589064_0.5164133624696963","host":"s3://npm-registry-packages-npm-production"}},"10.6.0":{"name":"@astralibx/email-account-manager","version":"10.6.0","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.6.0","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"57c8e2168cbe2c2195ba82dac6e725bf04e889b4","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.6.0.tgz","fileCount":8,"integrity":"sha512-XtOMYBvpC0yNrnP4tXOBvi9MyOVXt9TQv/HMJ1RQjOiP7Nu3tZIwjGCoIqM/pPASIqVv1Qbd/06mWZkiDcy4gQ==","signatures":[{"sig":"MEUCICEl93SqFglL1lPZ6mEf9elq4KWlm8MGTcRAmoRmQHkMAiEAieEJSp0BkVT2dYHHTYkIMyOxlmq/jG+2H452GVxiJh4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":801305},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"df956e4b9f30b71fc0ee0eba6b811eee2092bf52","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email/account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.6.0_1773730922938_0.549683690104688","host":"s3://npm-registry-packages-npm-production"}},"10.6.1":{"name":"@astralibx/email-account-manager","version":"10.6.1","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.6.1","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"9365a5ae6779b3b0c1b262e796d1713cc7d01aa0","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.6.1.tgz","fileCount":8,"integrity":"sha512-jfwRcHfRdlshQzgafBof6+3RHgs5g8j+jYh4jZf7ekHke0Pw1XU09wrxtt8H9pugkhm8jWIl99dcyjuZV/JXgA==","signatures":[{"sig":"MEQCIEYUMrGqZuD+kt7lISpYzzbIheZlRMSR8VUr+O38ahrBAiBkSOis147xkXZoWb+GO9NuwRDQpjQgHr8lR1q1zi2WtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":801305},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"fd42f0db8c9fd08982aee61f94304819cd425d54","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email/account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.6.1_1773733707207_0.6438413114819446","host":"s3://npm-registry-packages-npm-production"}},"10.6.2":{"name":"@astralibx/email-account-manager","version":"10.6.2","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.6.2","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"1c1af0d21d7bfbda45f7dfe83e741ad78b2b1809","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.6.2.tgz","fileCount":8,"integrity":"sha512-1hR4hZLEYGhpR1xSSLRrIPn788lOtuOvYfuPATWDgXb52mcekyJc6zhbwjOgMXmf2pT1B7EFSlrkKQTSD8/8BA==","signatures":[{"sig":"MEUCIA4PRNvi4E1TTO8G77yEd7H0cuh910jRApvIK3c089U1AiEAg+9P2hOem3w+qPyfbf+PcUgM/7d1qiIGGkCldWNjKjc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":813357},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"b96fb6e63feccf19591d627ddda0c3d04f165ad2","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email/account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.6.2_1773814060405_0.37312180681023577","host":"s3://npm-registry-packages-npm-production"}},"10.6.3":{"name":"@astralibx/email-account-manager","version":"10.6.3","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","_id":"@astralibx/email-account-manager@10.6.3","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"homepage":"https://github.com/Hariprakash1997/astralib#readme","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"dist":{"shasum":"db8568bea0fe0b93ac1d85fcf5a41621eaa09407","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.6.3.tgz","fileCount":8,"integrity":"sha512-gWXWiZzj/3ukJ/Udacs/eCXq3nG5UMauohVLjUIL20FGDkQFGCXhvnpADJp38YkyUPmOXV5BPCxdzV4iOYdaRQ==","signatures":[{"sig":"MEYCIQCDcLlx/REZZnJpO0PazYatNT6h4WYa2TC3QCDHKquM9AIhAKqQqgCBHIm9Vv7CZGKkHT3V7OiPRr4LxnqM8HbVx3Rr","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":813357},"main":"dist/index.cjs","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"gitHead":"4d4032239c93df075c2b2bef12163417a68ba99c","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","clean":"rm -rf dist","test:watch":"vitest","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"repository":{"url":"git+https://github.com/Hariprakash1997/astralib.git","type":"git","directory":"packages/email/account-manager"},"_npmVersion":"10.9.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","directories":{},"_nodeVersion":"22.22.1","dependencies":{"zod":"^3.23.0","@astralibx/core":"*"},"_hasShrinkwrap":false,"devDependencies":{"bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2","@types/node":"^22.0.0","@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@vitest/coverage-v8":"^3.0.0"},"peerDependencies":{"bullmq":"^5.0.0","express":"^4.18.0 || ^5.0.0","ioredis":"^5.0.0","mongoose":"^7.0.0 || ^8.0.0","nodemailer":">=6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/email-account-manager_10.6.3_1773825413966_0.5316426818226323","host":"s3://npm-registry-packages-npm-production"}},"10.6.4":{"name":"@astralibx/email-account-manager","version":"10.6.4","description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","repository":{"type":"git","url":"git+https://github.com/Hariprakash1997/astralib.git","directory":"packages/email/account-manager"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.cjs"}}},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","lint":"eslint src/","clean":"rm -rf dist"},"keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"license":"MIT","dependencies":{"@astralibx/core":"*","zod":"^3.23.0"},"peerDependencies":{"express":"^4.18.0 || ^5.0.0","mongoose":"^7.0.0 || ^8.0.0","ioredis":"^5.0.0","bullmq":"^5.0.0","nodemailer":">=6.0.0"},"devDependencies":{"@types/express":"^5.0.0","@types/nodemailer":"^6.4.0","@types/node":"^22.0.0","@vitest/coverage-v8":"^3.0.0","bullmq":"^5.0.0","express":"^5.0.0","ioredis":"^5.4.2","mongoose":"^8.12.1","nodemailer":"^6.9.0","typescript":"^5.8.2"},"_id":"@astralibx/email-account-manager@10.6.4","gitHead":"5a42b87813e33c158e23844e99dbc09ac97b7401","bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"homepage":"https://github.com/Hariprakash1997/astralib#readme","_nodeVersion":"22.22.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-gn+Ix1Pu8cXLjhp7ff1YThFfm5ezJL4PRpU36Vlo3pDDvPz3V2D1yk/egIgUG+zB9sNmy9rEGEc+Qm7ShQJYMw==","shasum":"86f49d890daa89d909396a001ecff8effa36d35b","tarball":"https://registry.npmjs.org/@astralibx/email-account-manager/-/email-account-manager-10.6.4.tgz","fileCount":8,"unpackedSize":817743,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHReEGURvSTcij9CI90j/x+Xdz63+R3o15NzE4zn+0EZAiADmbhB4cNBsVdkoi2uUgrU0L79ImDiywBf4bx6Nlz1TQ=="}]},"_npmUser":{"name":"astralib","email":"1997hariprakash@gmail.com"},"directories":{},"maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/email-account-manager_10.6.4_1773847621267_0.7922799908666458"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-14T10:53:12.448Z","modified":"2026-03-18T15:27:01.693Z","2.0.0":"2026-03-14T10:53:12.707Z","2.0.1":"2026-03-14T10:56:58.164Z","2.0.2":"2026-03-14T11:05:57.445Z","3.0.0":"2026-03-14T17:57:57.135Z","4.0.0":"2026-03-15T01:31:39.584Z","5.0.0":"2026-03-15T02:01:43.579Z","6.0.0":"2026-03-15T03:43:31.342Z","7.0.0":"2026-03-15T04:35:53.050Z","8.0.0":"2026-03-15T08:21:57.229Z","8.0.1":"2026-03-15T11:45:15.883Z","9.0.0":"2026-03-15T11:51:19.618Z","10.0.0":"2026-03-15T12:00:46.182Z","10.0.1":"2026-03-15T13:05:45.808Z","10.1.0":"2026-03-15T15:05:59.967Z","10.2.0":"2026-03-16T04:17:06.965Z","10.3.0":"2026-03-16T10:43:28.659Z","10.4.0":"2026-03-16T14:04:34.784Z","10.5.0":"2026-03-16T15:23:09.300Z","10.6.0":"2026-03-17T07:02:03.104Z","10.6.1":"2026-03-17T07:48:27.419Z","10.6.2":"2026-03-18T06:07:40.557Z","10.6.3":"2026-03-18T09:16:54.126Z","10.6.4":"2026-03-18T15:27:01.541Z"},"bugs":{"url":"https://github.com/Hariprakash1997/astralib/issues"},"license":"MIT","homepage":"https://github.com/Hariprakash1997/astralib#readme","keywords":["email","account-manager","smtp","ses","gmail","warmup","health-tracking","bullmq","approval-workflow"],"repository":{"type":"git","url":"git+https://github.com/Hariprakash1997/astralib.git","directory":"packages/email/account-manager"},"description":"Reusable email account management with Gmail + SES support, BullMQ queues, health tracking, warmup, and optional approval workflow","maintainers":[{"name":"astralib","email":"1997hariprakash@gmail.com"}],"readme":"# @astralibx/email-account-manager\n\nA production-ready, multi-account email infrastructure library for Node.js. Manages multiple SMTP accounts (Gmail, AWS SES) with automatic health tracking, account warmup, capacity-based rotation, BullMQ job queues, draft approval workflows, IMAP bounce detection, SES webhook processing, and built-in unsubscribe handling. Plug it into any Express app with three routers and a single factory call.\n\n## Install\n\n```bash\nnpm install @astralibx/email-account-manager\n```\n\n### Peer Dependencies\n\n| Package | Required |\n|---------|----------|\n| `express` | Yes |\n| `mongoose` | Yes |\n| `ioredis` | Yes |\n| `bullmq` | Yes |\n| `nodemailer` | Yes |\n| `imapflow` | Optional (IMAP bounce checking) |\n\n```bash\nnpm install express mongoose ioredis bullmq nodemailer\n# Optional: npm install imapflow\n```\n\n## Quick Start\n\n```ts\nimport express from 'express';\nimport mongoose from 'mongoose';\nimport Redis from 'ioredis';\nimport { createEmailAccountManager } from '@astralibx/email-account-manager';\n\nconst app = express();\napp.use(express.json());\n\nconst db = await mongoose.createConnection('mongodb://localhost:27017/myapp');\nconst redis = new Redis();\n\nconst eam = createEmailAccountManager({\n  db: { connection: db },\n  redis: { connection: redis },\n});\n\n// Admin API (protect with your own auth middleware)\napp.use('/api/email', eam.routes);\n\n// SES webhook endpoint (public, signature-verified)\napp.use('/webhooks/ses', eam.webhookRoutes.ses);\n\n// Unsubscribe pages (public)\napp.use('/unsubscribe', eam.unsubscribeRoutes);\n\n// Create an account with metadata\nawait eam.accounts.create({\n  email: 'outreach@yourdomain.com',\n  senderName: 'Your Company',\n  provider: 'gmail',\n  smtp: { host: 'smtp.gmail.com', port: 587, user: 'outreach@yourdomain.com', pass: 'app-password' },\n  metadata: { sender_names: ['Sales', 'Support'], contact_number: '+1-555-0100' },\n});\n\n// Send an email programmatically\nconst result = await eam.smtp.send({\n  to: 'recipient@example.com',\n  subject: 'Hello',\n  html: '<h1>Welcome!</h1>',\n});\n\nconsole.log(result); // { success: true, messageId: '...' }\n\napp.listen(3000);\n```\n\n## Features\n\n- **Multi-account management** -- Gmail and AWS SES providers with credential storage, status tracking, and freeform metadata. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/account-management.md)\n- **Health tracking** -- Automatic scoring (+1/-5/-10) with auto-disable on threshold breach. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/health-tracking.md)\n- **Account warmup** -- Phased volume ramp-up with configurable schedules stored per-account. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/warmup-system.md)\n- **Capacity-based rotation** -- Health-weighted account selection with daily limit enforcement. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/capacity-selection.md)\n- **Reliable sending** -- BullMQ queues with retries, dev mode redirect, and per-account SMTP. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/email-sending.md)\n- **Draft approval workflow** -- Create, review, approve/reject, bulk operations, send window spread. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/draft-approval.md)\n- **Unsubscribe handling** -- HMAC tokens, styled confirmation page, RFC 8058 one-click support. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/unsubscribe.md)\n- **SES webhooks** -- SNS signature verification, bounce/complaint/delivery/open/click processing. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/ses-webhooks.md)\n- **IMAP bounce detection** -- Gmail IMAP polling with bounce classification. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/imap-bounce-checking.md)\n- **Global settings** -- Runtime-adjustable config stored in MongoDB with in-memory caching. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/global-settings.md)\n- **Error classes** -- Typed errors with codes for every failure scenario. [Details](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/error-handling.md)\n\n## Architecture\n\nThe library exposes three Express routers from a single factory call:\n\n| Router | Purpose | Access |\n|--------|---------|--------|\n| `eam.routes` | Admin API -- accounts, drafts, settings, queues | Protected (add your auth middleware) |\n| `eam.webhookRoutes.ses` | SES/SNS event receiver | Public (SNS signature verified) |\n| `eam.unsubscribeRoutes` | Unsubscribe confirmation pages | Public |\n\nAll services are also available programmatically via the returned `eam` object. See [Programmatic API](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/programmatic-api.md).\n\n## Getting Started Guide\n\n1. [Configuration](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/configuration.md) — Set up database, Redis, queues, and hooks\n2. [Account Management](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/account-management.md) — Create and manage email accounts (see [default values](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/account-management.md#default-values))\n3. [Warmup System](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/warmup-system.md) — Gradually increase sending volume (**requires daily `advanceDay()` cron**)\n4. [Health Tracking](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/health-tracking.md) — Monitor account health and auto-disable unhealthy accounts\n5. [Email Sending](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/email-sending.md) — Send emails via SMTP with queue-based processing\n6. [Global Settings](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/global-settings.md) — Configure timezone, dev mode, approval workflow\n\nReference: [API Routes](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/api-routes.md) | [Programmatic API](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/programmatic-api.md) | [Types](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/types.md) | [Error Handling](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/error-handling.md)\n\nAdvanced: [Capacity Selection](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/capacity-selection.md) | [Draft Approval](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/draft-approval.md) | [IMAP Bounce Checking](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/imap-bounce-checking.md) | [SES Webhooks](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/ses-webhooks.md) | [Unsubscribe](https://github.com/Hariprakash1997/astralib/blob/main/packages/email/account-manager/docs/unsubscribe.md)\n\n> **Important:** The warmup system requires calling `advanceDay()` daily via cron job. Without this, accounts stay in warmup indefinitely.\n\n### Redis Key Prefix (Required for Multi-Project Deployments)\n\n> **WARNING:** If multiple projects share the same Redis server, you MUST set a unique `keyPrefix` per project. Without this, BullMQ queues will collide — Project A's worker could process Project B's emails.\n\n```typescript\nconst eam = createEmailAccountManager({\n  redis: {\n    connection: redis,\n    keyPrefix: 'myproject-eam:', // REQUIRED if sharing Redis\n  },\n  // ...\n});\n```\n\n| Default | Risk |\n|---------|------|\n| `'eam:'` | Two projects using defaults share the same `eam:email-send` and `eam:email-approved` queues |\n\n**Always set a unique prefix** like `projectname-eam:` or `projectname:`.\n\n## Security Notes\n\n**Credential storage**: SMTP and IMAP passwords (`smtp.pass`, `imap.pass`) are stored as plaintext in MongoDB. You should encrypt these values at the application layer before passing them to this library, and decrypt them after retrieval. A built-in encryption layer is planned for a future version.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}