{"_id":"@almeidx/protonmail-api","_rev":"5-59857417b8e0760831eb6b30dcb100c9","name":"@almeidx/protonmail-api","dist-tags":{"latest":"2.3.2"},"versions":{"2.2.0":{"name":"@almeidx/protonmail-api","version":"2.2.0","description":"Node.js API for ProtonMail","repository":{"type":"git","url":"git+https://github.com/almeidx/protonmail-api.git"},"homepage":"https://github.com/almeidx/protonmail-api#readme","bugs":{"url":"https://github.com/almeidx/protonmail-api/issues"},"author":{"name":"almeidx","email":"almeidx@pm.me","url":"https://almeidx.me"},"license":"MIT","scripts":{"test":"mocha tests --recursive --timeout 30000","lint":"eslint . || true","jsdoc":"jsdoc -c .jsdoc.json","validate":"run-s test lint","prerelease":"git checkout master && git pull origin master && run-s validate jsdoc","release":"standard-version","prepublishOnly":"npm run test"},"dependencies":{"puppeteer":"^5.0.0"},"devDependencies":{"@commitlint/cli":"^9.0.1","@commitlint/config-conventional":"^9.0.1","chai":"^4.2.0","docdash":"github:clenemt/docdash","dotenv":"^8.2.0","eslint-config-jk":"^1.6.0","jsdoc":"^3.6.4","mocha":"^8.0.1","npm-run-all":"^4.1.5","standard-version":"^8.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint"},"eslintConfig":{"extends":"jk"},"gitHead":"ce8f135e24552e76758112539141355d3477b19b","_id":"@almeidx/protonmail-api@2.2.0","_nodeVersion":"12.18.3","_npmVersion":"6.14.6","dist":{"integrity":"sha512-QNoycr0DGx0EC96qbMWuhjBGFLLKyY/bnyZwGYukieyIB/pPUJAC8iPUUO7R8aGpySlu16p5m+pNtjOdeucr6g==","shasum":"0024494e6aaa15a9229740e7ddf3898249e1ea73","tarball":"https://registry.npmjs.org/@almeidx/protonmail-api/-/protonmail-api-2.2.0.tgz","fileCount":85,"unpackedSize":1502724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbRVvCRA9TVsSAnZWagAAJP4P/0lrSQRPp/kM387Um4Ea\njlMqP6aapaMWOGR+T5R4d1AF+DWgq6d8WQVz8nJAUsIqYJxOMOG9Ws7s6P1h\n6gTvekVDW+9PRKqj7XQ7MjU2UR1uj9nsx75DFheEDze9qgVgI1aPjauKtES4\n033omjuLrkIDPLqlvLby6h/jTdeMfggAhYHoLQl7Ti0+3vP3f8K+U8wBhr2g\naBlnYEx6JH2TXV3a+/NgjhSx2fvU61ElWbkIXU3kJvwZWRWjcwiD4OPdxHgF\nsi3N0ktWJ+vBbkQHFIkH0uUIN7Ynx48bqkXfoi/k4UWFHSv6Sd9MPHNhF919\n3qbvMKWA4VfMH8Tou63QGASYEtvmaKuUG/s8YfpFw9Swz/Jt9J30ntiPNKbR\nVtmVDoVs6PzeMVSQQ+bTlq5bXFbQyn2oHd81pS+yiPmTVO8LFVclrTmC2VkW\nNJZL5ZJVNGAwhzrqcLyO4wXnJjxgyvfjEHuypSQ1W0VXWykENq1URzshBNPG\nkZD4QYLTI5gAaPzLQScOzZk4Yg9S39XQIEiFdPTpJ57/2hw0OVkpYDbhp48V\n3hF7/S9Hy6mDALVUUYsQ8z09IPmNTbt0bUR1yui9eplBw4FvpAb3x+uB0nQs\nzXGtaDgkJpS8kCo/raOe4zoj7c8p5xlH9aBUWyqEDPNqUgLv0LWhkMq15+LK\nwT28\r\n=wfLt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAmDP7JqJD2Nxt/UXkLbBrKjv7LfRv83iR5tT28V0KaQAiEAnDiLTj5jg8QIdxHM31eDHshBKQ9usmO6XCQtv7fKej8="}]},"maintainers":[{"name":"almeidx","email":"almeidx@pm.me"}],"_npmUser":{"name":"almeidx","email":"almeidx@pm.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protonmail-api_2.2.0_1600984430857_0.8714454273177104"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.0":{"name":"@almeidx/protonmail-api","version":"2.3.0","description":"Node.js API for ProtonMail","repository":{"type":"git","url":"https://github.com/almeidx/protonmail-api.git"},"homepage":"https://github.com/almeidx/protonmail-api#readme","types":"typings/index.d.ts","bugs":{"url":"https://github.com/almeidx/protonmail-api/issues"},"author":{"name":"almeidx","email":"almeidx@pm.me","url":"https://almeidx.me"},"license":"MIT","scripts":{"test":"mocha tests --recursive --timeout 30000","lint":"eslint . || true","jsdoc":"jsdoc -c .jsdoc.json","validate":"run-s test lint","prerelease":"git checkout master && git pull origin master && run-s validate jsdoc","release":"standard-version","prepublishOnly":"npm run test"},"dependencies":{"puppeteer":"^5.0.0"},"devDependencies":{"@commitlint/cli":"^9.0.1","@commitlint/config-conventional":"^9.0.1","chai":"^4.2.0","docdash":"github:clenemt/docdash","dotenv":"^8.2.0","eslint-config-jk":"^1.6.0","jsdoc":"^3.6.4","mocha":"^8.0.1","npm-run-all":"^4.1.5","standard-version":"^8.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint"},"eslintConfig":{"extends":"jk"},"licenseText":"MIT License\n\nCopyright (c) 2018 Justin Kalland\nCopyright (c) 2020 Almeida\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@almeidx/protonmail-api@2.3.0","dist":{"shasum":"b524c8b27302d5486a8e04ec58a456551e82f57c","integrity":"sha512-Z36XP0iMktO4pfG0jSBn1GsoKllA2xehjtgDmb0gQMmovv13qfcwt49Sim0ILi1w2mdbWc+B8W2a4w20YIvcqw==","tarball":"https://registry.npmjs.org/@almeidx/protonmail-api/-/protonmail-api-2.3.0.tgz","fileCount":105,"unpackedSize":1503221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfbRn4CRA9TVsSAnZWagAASpsQAJYGfPW9A8Z7g4+yl0CW\n2vwGyejo5fILhmG6q8pun9xB0/43l/hb+zRMHw4OtqmlQOP1gB/975nJjSx5\ntXg4tKR1N1FuiqjuWShN3MKi3bkXXpETauJe7wLdPUZzrmEZW02rhe/W+ukz\nmMPyKgwRzw05R30iXsyx8D90u60GtjeRD0jlp2ZJjD0zMzhO0JehS03t8Yxa\nWrdTMDQ+HVtZJM0hBclXm8ug+ql7Eampb0z88a4j9xkXapqYmE1RkwNM2/SZ\nzUalZ/O7bEEZ06JiShCqyDbw8cHXOPoKmHz0pH+B1wNbzD7nQaBc5hg7LMHY\npVmUdX/H5vh8bPmeEvOaM2LRrUtJVHx1C6lIbVfsZLgBKrUJUUvu6sIEPKKf\nNGdNEcgjy/9B0ty1G71Nxea8ypVz5D1o/7t6MHJH+d/aUhiVAkr0ujMsSC/l\nxJoHZh8cnvgXZWt2HSYhNrxYEzZpbKhZ1y0mtHqabBDVfpIcHHFMHcZKKMA0\ns3gjl76NqSzD6wjNrmDrUvBTMfxDSymPizmVTgCRgkeegC2J5XYE23+j4Ti3\nQ1uXQXmpfX+FsWURMBAfO8ffFkM1jjiI8s6k3YqPyPyCEs8d8pQ47NUPXiTk\npzLWC9U02M/4Hxq6hdm70wLDUvgzhdrQf7flUlidpOnktYIVtTvk3VaEHl5d\nySJZ\r\n=vhVb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/tjDodOtidzqWRsorTAOApiMdft15K28vq7badS5rRAIhAK3g72bRAIA9llZGCwf5dqOEPXgo52uedEnkZ4UgGwq5"}]},"maintainers":[{"name":"almeidx","email":"almeidx@pm.me"}],"_npmUser":{"name":"almeidx","email":"almeidx@pm.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protonmail-api_2.3.0_1600985592470_0.46582775561219214"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.1":{"name":"@almeidx/protonmail-api","version":"2.3.1","description":"Node.js API for ProtonMail","repository":{"type":"git","url":"https://github.com/almeidx/protonmail-api.git"},"homepage":"https://github.com/almeidx/protonmail-api#readme","types":"typings/index.d.ts","bugs":{"url":"https://github.com/almeidx/protonmail-api/issues"},"author":{"name":"almeidx","email":"almeidx@pm.me","url":"https://almeidx.me"},"license":"MIT","scripts":{"test":"mocha tests --recursive --timeout 30000","lint":"eslint . || true","jsdoc":"jsdoc -c .jsdoc.json","validate":"run-s test lint","prerelease":"git checkout master && git pull origin master && run-s validate jsdoc","release":"standard-version","prepublishOnly":"npm run test"},"dependencies":{"puppeteer":"^5.0.0"},"devDependencies":{"@commitlint/cli":"^9.0.1","@commitlint/config-conventional":"^9.0.1","chai":"^4.2.0","docdash":"github:clenemt/docdash","dotenv":"^8.2.0","eslint-config-jk":"^1.6.0","jsdoc":"^3.6.4","mocha":"^8.0.1","npm-run-all":"^4.1.5","standard-version":"^8.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint"},"eslintConfig":{"extends":"jk"},"licenseText":"MIT License\n\nCopyright (c) 2018 Justin Kalland\nCopyright (c) 2020 Almeida\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@almeidx/protonmail-api@2.3.1","dist":{"shasum":"5515ec52b85f86edc06e42432f20c2cd517c633e","integrity":"sha512-YAdV0yIFelNsvF3U+S7GrIGtgo2mO3HAser0ydSGWrwpytyeMszEixk4GZywnbxOr9BVHxlqLv1E1zfOog/j7w==","tarball":"https://registry.npmjs.org/@almeidx/protonmail-api/-/protonmail-api-2.3.1.tgz","fileCount":105,"unpackedSize":1503200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdNxgCRA9TVsSAnZWagAAnoEP/1o1ZwcuXq5YUQOi8lLt\n12n6oBgRg2srz4WM7z029rzNBBUtrDtqNaq7jzLBoyw1/n8Uw3ykqzc3EBku\n4q84Jer3KB65Kn+jQu77WWtFeU5MKP9OJBdg9v6wsWJWWRrYqR2Pu2sBxl0g\n7r6M+PuxsBpLE+c+lxYL9euxTKEynhMt8u82fP48IOMIOPVnQFNADwXwhV1p\nyKJH7E9Fusk3dSyKlIdBRORNm3uLjRt4b4SMcrFPZQ/FWN15zEBAGR2lSiFP\ncgo+aHZ9pAISzamaMzcLJeHyTMh+keC/brOwmoeU8hARxp/aYNypbbJN2FnV\nN9mtoaYyZejhBeqR+208M8pGWNr0dlFPQ0/Yu9fvVRNVBdLsWHTQZE4mruAX\nJjmx1a7iwkGL7+YEEXmfZP2kJfkgmdT/DTtBRPpay/WpztmstioWK3660MKv\n3IK1KkTLMIL70H9ebRMolkh3q3fCWTzqLj2i+mKJZeLKMv9/XLD4U+pEoFo8\n+fiI8OvlF/2DxFrNGWhRPrGPyQc7GuGhOesXjuhQnZVqMKNm/y4qc6X2KoK2\nNBu0v5E+dVgU5u4D+KV9bthHH7i4nvxNZlgih/rs2K/Yj9POtRTNyyzNwzU0\n+T4wREB9Wdb292koZXlpiCy/bs36r51nq7i3VC0wbUdPUc2cUrKBFc5N/seB\nmfiz\r\n=t6Zv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDenxdrQBKjNhOwDYj43uLjqkmDugKDPPlvqh67sMECrQIhAKRjheyZb5ebjl+2750HF13DSNK4zA3G0zDiqeXU5Wrq"}]},"maintainers":[{"name":"almeidx","email":"almeidx@pm.me"}],"_npmUser":{"name":"almeidx","email":"almeidx@pm.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protonmail-api_2.3.1_1601494111263_0.9348928209827589"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"2.3.2":{"name":"@almeidx/protonmail-api","version":"2.3.2","description":"Node.js API for ProtonMail","repository":{"type":"git","url":"https://github.com/almeidx/protonmail-api.git"},"homepage":"https://github.com/almeidx/protonmail-api#readme","types":"typings/index.d.ts","bugs":{"url":"https://github.com/almeidx/protonmail-api/issues"},"author":{"name":"almeidx","email":"almeidx@pm.me","url":"https://almeidx.me"},"license":"MIT","scripts":{"test":"mocha tests --recursive --timeout 30000","lint":"eslint . || true","jsdoc":"jsdoc -c .jsdoc.json","validate":"run-s test lint","prerelease":"git checkout master && git pull origin master && run-s validate jsdoc","release":"standard-version","prepublishOnly":"npm run test"},"dependencies":{"puppeteer":"^5.0.0"},"devDependencies":{"@commitlint/cli":"^9.0.1","@commitlint/config-conventional":"^9.0.1","chai":"^4.2.0","docdash":"github:clenemt/docdash","dotenv":"^8.2.0","eslint-config-jk":"^1.6.0","jsdoc":"^3.6.4","mocha":"^8.0.1","npm-run-all":"^4.1.5","standard-version":"^8.0.0"},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"*.js":"eslint"},"eslintConfig":{"extends":"jk"},"licenseText":"MIT License\n\nCopyright (c) 2018 Justin Kalland\nCopyright (c) 2020 Almeida\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@almeidx/protonmail-api@2.3.2","dist":{"shasum":"6cf33c214ac445f809f464caa31626f044e238b3","integrity":"sha512-EOA0JTsizGrtjZ+ry4CeswTtBqI7u89u4vsGaOjdKBDglCWV+cXjWAHW8FBKb3inarRCW2FT3EsJ1qmLudCuyw==","tarball":"https://registry.npmjs.org/@almeidx/protonmail-api/-/protonmail-api-2.3.2.tgz","fileCount":105,"unpackedSize":1503201,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdN5gCRA9TVsSAnZWagAAJ48P/1kWpKx+jv+rZGpl/Jis\nL3WrBV42rWnuXsRlITBOzShh7vRZU91VpUywTXNXtf3+swmQV1ms6iiYQEA6\nFNaoEWbcOSqkXitn3oDDGomZwkeeC2GhNj8/II5sryEKsrMeU0w5Kn8ZuuIV\nAopbhYICGYzv+WfVn/I9qQ+noWwgdh62t33IyPLYcKRdPX6vc5f5vFLSdycO\nKOTTPPy7xsSUoDmtlCzNS20x4hJvIfU+edEEh9DbA397XTEHrBtPOWPszqeU\nkEBMQexwh0NKqnjbRHg9ZQIK4Epo0rOzQLy0ZATQ0HzwVdKuok1DkTmtiDcY\n0qiDZBYDyXoW+6gTmgWDCot0F8fu4MvnOqWFgC8DLIC7tx2dNe4AdOFIdqH9\nYtKg2h9bxEJj1iH1up4dd3BWSVds7E0/gjYCaF9AzvlvLFEoNX4+JeQQyvCP\n7XZjfSY5Z1X4dt7igO77WM9b+ylX58JPrTT/1w+bt1HOxvInAr9N82x5cAZN\n7BvbatfW5WaeV17ya0KW5ki2Phflu8lkNJNNSnASy753JzZ9r2aehPF/ilcO\n29BwqGSL3TbPHd0bIQRhnlMglB3jEHqEj8vRrmMGBjLaDwRqisbVnURkHB+A\nmwSXAFmlKpOmGuUndROKIG2k93w+SFDpECZkwOEu5/uUUaIXEL8PXvzthoe5\nZGgY\r\n=2Cg5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDAIV6TF8ilVjkn9utl5XZKmMSeec/shXixbiPF7+usJAiEAjeJW6KAV2UQWjBRnmss4uydBNkkZysk3FCLaHiQgR3w="}]},"maintainers":[{"name":"almeidx","email":"almeidx@pm.me"}],"_npmUser":{"name":"almeidx","email":"almeidx@pm.me"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/protonmail-api_2.3.2_1601494623643_0.4458517425057482"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2020-09-24T21:53:50.821Z","2.2.0":"2020-09-24T21:53:51.103Z","modified":"2022-07-26T17:28:35.875Z","2.3.0":"2020-09-24T22:13:12.691Z","2.3.1":"2020-09-30T19:28:31.464Z","2.3.2":"2020-09-30T19:37:03.938Z"},"maintainers":[{"name":"almeidx","email":"almeidx@pm.me"}],"description":"Node.js API for ProtonMail","homepage":"https://github.com/almeidx/protonmail-api#readme","repository":{"type":"git","url":"https://github.com/almeidx/protonmail-api.git"},"author":{"name":"almeidx","email":"almeidx@pm.me","url":"https://almeidx.me"},"bugs":{"url":"https://github.com/almeidx/protonmail-api/issues"},"license":"MIT","readme":"# @almeidx/protonmail-api\nUnofficial API for interacting with ProtonMail.\n\nClone of `protonmail-api` but using the --no-sandbox option in the puppeteer client.\n\nAllows interaction with ProtonMail through a simple Node.js API. Leverages the official [WebClient](https://github.com/ProtonMail/WebClient), keeping with the spirit of security and privacy. Currently supports sending email, managing email/conversations, and managing labels and folders. See the [documentation](https://justinkalland.github.io/protonmail-api/) for full functionality.\n\n_This project is not endorsed or supported by Proton Technologies AG._\n\n# Quick Start\n## Setup\n```\nnpm install protonmail-api\n```\n## Send an Email\n```js\nconst ProtonMail = require('protonmail-api');\n\n(async () => {\n  const pm = await ProtonMail.connect({\n    username: 'foobar@protonmail.com',\n    password: 'somethingsecure'\n  })\n\n  await pm.sendEmail({\n    to: 'justin@kalland.ch',\n    subject: 'Send email tutorial',\n    body: 'Hello world'\n  })\n\n  pm.close()\n})()\n```\n## More Examples\nNumerous examples can be found in the [tutorials section of the documentation](https://justinkalland.github.io/protonmail-api/).\n\n# Documentation\n[Full documentation found here](https://justinkalland.github.io/protonmail-api/)\n\n# How?\nThis library uses [Puppeteer](https://github.com/GoogleChrome/puppeteer) (headless Chromium) to load and control the official [ProtonMail WebClient](https://github.com/ProtonMail/WebClient).\n\nThe first attempt at building this was by trying to reverse engineer the API from the WebClient. This proved to be difficult and fragile. By utilizing the AngularJS modules (through the headless browser) this library is able to leverage all the work that goes into the official WebClient. This also means complex and sensitive things (like cryptography) are not handled by this library. The main drawback to this approach is the added weight of Puppeteer.\n\n# Contributing\nThis project is looking for maintainers and contributors. Please contact justin@kalland.ch if you are interested.\n\nTo run integration tests you need to provide a ProtonMail account. It is best to use a dedicated testing account without any filters. The credentials are set as environment variables `PM_USERNAME` and `PM_PASSWORD`.\n\nExample:\n```\nPM_USERNAME=footest@protonmail.com PM_PASSWORD=kgjSOE223qWer npm run test\n```\n\nOr create a `.env` file (in this directory next to `package.json`:\n```\nPM_USERNAME=footest@protonmail.com\nPM_PASSWORD=kgjSOE223qWer\n```\n","readmeFilename":"README.md"}