{"_id":"@capawesome/capacitor-mail-composer","_rev":"6-6bcfbbeaf0a675a8ef4db32b85c54939","name":"@capawesome/capacitor-mail-composer","dist-tags":{"latest":"0.2.2"},"versions":{"0.0.1":{"name":"@capawesome/capacitor-mail-composer","version":"0.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-mail-composer@0.0.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/plugins/mail-composer/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"c8af7869157e304aaa2b8f03ddc7658565fbd169","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.0.1.tgz","fileCount":40,"integrity":"sha512-x19974FyDBt02tKEY8BZcrBljEtkJoAlC9rv/aBDjthQdmvODBRnQ5Wg4BcX377CzYG4GgBFjeYS0+aAXJMkWA==","signatures":[{"sig":"MEUCIQCMLqgcKhiD0aJC9utg8Y4ZAS1cVURBhk2nh1wHrlANWgIgYEt1Ut3Tu0srb+wOsyeX7pd4laa+wdJDC9BB8G9eZpQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":71382},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"8dd31ce5d3f16f94fb71d033f47512e99908f4e4","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin to open the native email composer.","directories":{},"_nodeVersion":"24.16.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mail-composer_0.0.1_1783405284309_0.457029901654628","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@capawesome/capacitor-mail-composer","version":"0.1.0","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-mail-composer@0.1.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"f623c36ff520bced2f6ea0fb3e557ebeea916411","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.1.0.tgz","fileCount":40,"integrity":"sha512-tFjNZJgmErY2z0eYnawrl1xjHcM0WI/6hPGeSXQKt9DFMgi3UMGwMUExOy3KwxrrKy7XJFmuTs3o9rTXig0zaw==","signatures":[{"sig":"MEYCIQCevlseaZS8C9TXvzZKzLLB/4Vsd8M8WLdC4Uut84qHnQIhANxcQOhE9Ffvl+Ug0W6gSr4kwLS62iPtHovqoy3eXzGT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-mail-composer@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75791},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"1ce17b1fd14c43b2f1d5d3c2da82221e1d1dca37","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4871e5d-c7d4-44e7-93b6-8e79a7ff630b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mail-composer_0.1.0_1784015548125_0.6869110073121727","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@capawesome/capacitor-mail-composer","version":"0.1.1","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-mail-composer@0.1.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"4e2192a65b2104d508d581d9eafef61d5f89496c","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.1.1.tgz","fileCount":40,"integrity":"sha512-srDDSCTUXLwdrpXAFjvI8GVb6ed6W0y32cCynBpSP+A2Ggf1SW/MemsZPp9ejEBHqWqujwuPgkzYqIzNACzoPw==","signatures":[{"sig":"MEUCIE9AI/boE1a4Y0EfyYk3AMRf0hNqVfWCbTKAgXjds6NOAiEA8Av5GUHMYiVj8DPDU0ipEkQLdSFaCE7tKpMPHz4mCJE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-mail-composer@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75800},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"3e61f4b412f9f3f512c21169bb135bbb23a67e6d","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4871e5d-c7d4-44e7-93b6-8e79a7ff630b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mail-composer_0.1.1_1784103001434_0.5507234910240992","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@capawesome/capacitor-mail-composer","version":"0.2.0","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-mail-composer@0.2.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"f2cbea74a03895abd1747eda362040e06cd804b8","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.2.0.tgz","fileCount":42,"integrity":"sha512-1Hqydd2q33sVmINL/iOkGXH1T2e/RPdij92t1sjZUQ6xtIEWFw1iDMiad8t9Y8cxWHbRCFhskUDvnqWIRv+0mA==","signatures":[{"sig":"MEYCIQDQZ7jOTfLEOmczE6N/nuNCuW94irluVd2/5OjXUcXD1AIhAPe864kLil+zYn21oymTJhvxkKdGiig6VYWSquWnhw3b","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-mail-composer@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":91084},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"0b61b288e9e10f0975092166e0d6a4793586a974","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4871e5d-c7d4-44e7-93b6-8e79a7ff630b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.17.0","description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mail-composer_0.2.0_1788251098143_0.9351520881599871","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@capawesome/capacitor-mail-composer","version":"0.2.1","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","_id":"@capawesome/capacitor-mail-composer@0.2.1","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"355a23e50e177e9a7b23fb2cee787b308ddb9a4d","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.2.1.tgz","fileCount":42,"integrity":"sha512-iiNZLKjVaZwIMcSWnOxgTFLr1N29J3zBRmmADRexLez+aa3N4w+1yRO6+wS9aGAL8W5DA04Xopj5QBF5omvB2w==","signatures":[{"sig":"MEUCID5QnQGTuVsVwdMtJIiRbbaMg2fIc4Ec7ZLN6dV7VMl2AiEA30hTWLPPHUUIl7HNuiR/hnNHbUXiOBKPaopId2RBrEE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-mail-composer@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90930},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"7c1937ed10b7de86ca2c1cdc3539a2735fd69a00","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4871e5d-c7d4-44e7-93b6-8e79a7ff630b"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.17.0","description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","directories":{},"_nodeVersion":"24.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-mail-composer_0.2.1_1788337368024_0.8184563789492554","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"_id":"@capawesome/capacitor-mail-composer@0.2.2","bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"dist":{"shasum":"39fd60a0052cb8b7931241399131151bc9eea14c","tarball":"https://registry.npmjs.org/@capawesome/capacitor-mail-composer/-/capacitor-mail-composer-0.2.2.tgz","fileCount":42,"integrity":"sha512-KUHi8ZfwPKAfNMV9SNfVXtetoWBLqL0cQBaWqeJiXhdG951nh1XibA3FQlKbrr36Y/DfDNXzfpblxQdVf5AcBg==","signatures":[{"sig":"MEYCIQD0mt2T8CdV6Ge63lpRgnMjDq8US0QuM8i9NqDDoU/+HgIhALUEpUL1xbkkbb+XO9Z9woYJ9QkpcOvZuc2H3pX3oOsO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHzuX6NUPSRou4lBM7xUnbboKmriTmolvzx9rCV0b+MQAiEAr/oF0hOFFAS9dfWsPumVQzu36Dcru3mN77szk+5RHY4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capawesome%2fcapacitor-mail-composer@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":92322},"main":"dist/plugin.cjs.js","name":"@capawesome/capacitor-mail-composer","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"67a29d24e4ee9cf112a2bcb234a59b2e28e8d3f1","license":"MIT","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api MailComposerPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd ..","ios:spm:install":"cd ios && swift package resolve && cd .."},"version":"0.2.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:e4871e5d-c7d4-44e7-93b6-8e79a7ff630b"}},"homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"_npmVersion":"11.17.0","description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_nodeVersion":"24.19.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.4.2","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-mail-composer_0.2.2_1788526071741_0.13752067867491014"}}},"time":{"created":"2026-07-07T06:21:24.091Z","modified":"2026-09-04T12:47:52.137Z","0.0.1":"2026-07-07T06:21:24.491Z","0.1.0":"2026-07-14T07:52:28.306Z","0.1.1":"2026-07-15T08:10:01.564Z","0.2.0":"2026-09-01T08:24:58.287Z","0.2.1":"2026-09-02T08:22:48.153Z","0.2.2":"2026-09-04T12:47:51.830Z"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-plugins/issues"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"MIT","homepage":"https://capawesome.io/docs/sdks/capacitor/mail-composer/","keywords":["capacitor","capacitor-plugin","plugin","native","mail composer","email composer","email","send email","mailto","email attachments"],"repository":{"url":"git+https://github.com/capawesome-team/capacitor-plugins.git","type":"git"},"description":"Capacitor plugin to open the native email composer on Android, iOS, and Web.","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"readme":"# Capacitor Mail Composer Plugin\n\nCapacitor plugin to open the native email composer.\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1\" />\n  </a>\n</div>\n\n## Features\n\n- ✉️ **Compose**: Open the native email composer prefilled with recipients, subject and body.\n- 📎 **Attachments**: Attach one or more files from the file system or from base64 strings.\n- ✅ **Availability**: Check whether the device is able to compose and send emails.\n- 🌐 **Cross-platform**: Supports Android, iOS and the web (via `mailto:`).\n- 🤝 **Compatibility**: Works alongside the [File Picker](https://capawesome.io/docs/sdks/capacitor/file-picker/), [Phone Dialer](https://capawesome.io/docs/sdks/capacitor/phone-dialer/) and [SMS Composer](https://capawesome.io/docs/sdks/capacitor/sms-composer/) plugins.\n- 📦 **CocoaPods & SPM**: Supports CocoaPods and Swift Package Manager for iOS.\n- 🔁 **Up-to-date**: Always supports the latest Capacitor version.\n\nMissing a feature? Just [open an issue](https://github.com/capawesome-team/capacitor-plugins/issues) and we'll take a look!\n\n## Use Cases\n\nThe Mail Composer plugin is typically used whenever an app wants the user to send an email, for example:\n\n- **Support and feedback**: Open a prefilled email to your support address with a subject and body so users can reach out with one tap.\n- **Bug reports**: Attach log files or screenshots to a bug report email using the `attachments` option, either from the file system or directly from a base64 string.\n- **Sharing content**: Let users share content from your app via email with prefilled recipients, subject, and body.\n- **Invitations**: Prefill invitation emails with CC and BCC recipients that the user only needs to review and send.\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 0.x.x          | >=8.x.x           | Active support |\n\n## Installation\n\nYou can use our **AI-Assisted Setup** to install the plugin.\nAdd the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:\n\n```bash\nnpx skills add capawesome-team/skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```\n Use the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capawesome/capacitor-mail-composer` plugin in my project.\n```\n\nIf you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capawesome/capacitor-mail-composer\nnpx cap sync\n```\n\n### Android\n\n#### Attachments\n\nTo attach files, the plugin uses the [`FileProvider`](https://developer.android.com/reference/androidx/core/content/FileProvider) that Capacitor already registers for your app (authority `${applicationId}.fileprovider`). Make sure that the directories your attachments are stored in are covered by the `res/xml/file_paths.xml` resource of your app. Otherwise, the `composeMail(...)` method will reject with an error.\n\nAttachments that are provided as base64 strings are written to the cache directory of your app, which the default `res/xml/file_paths.xml` resource of a Capacitor app already covers with a `cache-path` entry.\n\n### Web\n\nOn the web, the plugin builds a `mailto:` URL and opens it. This has the following limitations:\n\n- Attachments are **not** supported and cause the `composeMail(...)` method to reject.\n- HTML bodies are **not** supported. The body is always sent as plain text.\n- The overall URL length is limited, so long bodies may be truncated.\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Usage\n\nThe following examples show how to check whether the device can send emails and how to open the native email composer.\n\n### Check whether the device can send emails\n\nBefore opening the composer, check whether the device is able to compose and send emails. On iOS, this returns `true` only if a mail account is configured. On Android, it returns `true` if a mail app is installed. On the web, it always returns `true`:\n\n```typescript\nimport { MailComposer } from '@capawesome/capacitor-mail-composer';\n\nconst canComposeMail = async () => {\n  const { canCompose } = await MailComposer.canComposeMail();\n  return canCompose;\n};\n```\n\n### Compose an email\n\nOpen the native email composer prefilled with recipients, subject, and body. The user reviews the email and decides whether to send it. Note that on Android, the returned `status` is always `unknown`:\n\n```typescript\nimport { MailComposer } from '@capawesome/capacitor-mail-composer';\n\nconst composeMail = async () => {\n  const { status } = await MailComposer.composeMail({\n    to: ['jane@example.com'],\n    cc: ['john@example.com'],\n    subject: 'Hello World',\n    body: 'This is the body of the email.',\n  });\n  return status;\n};\n```\n\n### Compose an email with attachments\n\nAttach a file from the file system using the `path` property, or attach a file that only exists in memory using the `data` and `name` properties. Attachments are not supported on the web:\n\n```typescript\nimport { MailComposer } from '@capawesome/capacitor-mail-composer';\n\nconst composeMailWithAttachments = async () => {\n  await MailComposer.composeMail({\n    to: ['support@example.com'],\n    subject: 'Bug report',\n    attachments: [\n      { path: '/path/to/screenshot.png' },\n      { data: 'SGVsbG8gV29ybGQ=', name: 'log.txt' },\n    ],\n  });\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`canComposeMail()`](#cancomposemail)\n* [`composeMail(...)`](#composemail)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### canComposeMail()\n\n```typescript\ncanComposeMail() => Promise<CanComposeMailResult>\n```\n\nCheck whether the device is able to compose and send emails.\n\nOn iOS, this returns `true` only if a mail account is configured. On\nAndroid, this returns `true` if a mail app is installed. On the web, this\nalways returns `true` (best effort, not verifiable).\n\n**Returns:** <code>Promise&lt;<a href=\"#cancomposemailresult\">CanComposeMailResult</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### composeMail(...)\n\n```typescript\ncomposeMail(options: ComposeMailOptions) => Promise<ComposeMailResult>\n```\n\nOpen the native email composer prefilled with the provided data.\n\nThe user reviews the email and decides whether to send it. The plugin\nnever sends the email itself.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#composemailoptions\">ComposeMailOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#composemailresult\">ComposeMailResult</a>&gt;</code>\n\n**Since:** 0.1.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### CanComposeMailResult\n\n| Prop             | Type                 | Description                                            | Since |\n| ---------------- | -------------------- | ------------------------------------------------------ | ----- |\n| **`canCompose`** | <code>boolean</code> | Whether the device is able to compose and send emails. | 0.1.0 |\n\n\n#### ComposeMailResult\n\n| Prop         | Type                                                            | Description                                                                                                                                                | Since |\n| ------------ | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`status`** | <code><a href=\"#mailcomposestatus\">MailComposeStatus</a></code> | The status of the email compose operation. **Note**: On Android, the status is always `unknown` because the mail intent does not return a reliable result. | 0.1.0 |\n\n\n#### ComposeMailOptions\n\n| Prop              | Type                          | Description                                                                                                                                                                                         | Default            | Since |\n| ----------------- | ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------ | ----- |\n| **`attachments`** | <code>MailAttachment[]</code> | The files to attach to the email. Attachments are not supported on the web.                                                                                                                         |                    | 0.1.0 |\n| **`bcc`**         | <code>string[]</code>         | The email addresses of the blind carbon copy (BCC) recipients.                                                                                                                                      |                    | 0.1.0 |\n| **`body`**        | <code>string</code>           | The body of the email.                                                                                                                                                                              |                    | 0.1.0 |\n| **`cc`**          | <code>string[]</code>         | The email addresses of the carbon copy (CC) recipients.                                                                                                                                             |                    | 0.1.0 |\n| **`isHtml`**      | <code>boolean</code>          | Whether the body should be interpreted as HTML. **Note**: On Android, HTML is best-effort as many mail apps ignore it. On the web, HTML is not supported and the body is always sent as plain text. | <code>false</code> | 0.1.0 |\n| **`subject`**     | <code>string</code>           | The subject of the email.                                                                                                                                                                           |                    | 0.1.0 |\n| **`to`**          | <code>string[]</code>         | The email addresses of the primary recipients.                                                                                                                                                      |                    | 0.1.0 |\n\n\n#### MailAttachment\n\n| Prop       | Type                | Description                                                                                                                                                                                                                                                                                                  | Since |\n| ---------- | ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----- |\n| **`data`** | <code>string</code> | The content of the file to attach, encoded as a base64 string. Either `data` or `path` must be provided. If both are provided, `path` is used. **Attention**: The entire file is loaded into memory as a base64 string, which can lead to app crashes for large files. Use `path` instead whenever possible. | 0.2.0 |\n| **`name`** | <code>string</code> | The file name of the attachment, including the file extension. Must be provided if `data` is provided. Ignored if `path` is provided, because the file name is then derived from the path.                                                                                                                   | 0.2.0 |\n| **`path`** | <code>string</code> | The absolute file path or `file://` URI of the file to attach. Either `data` or `path` must be provided.                                                                                                                                                                                                     | 0.2.0 |\n\n\n### Type Aliases\n\n\n#### MailComposeStatus\n\nThe status of an email compose operation.\n\n- `sent`: The email was sent.\n- `saved`: The email was saved as a draft.\n- `canceled`: The user canceled the operation.\n- `unknown`: The status is unknown.\n\n<code>'sent' | 'saved' | 'canceled' | 'unknown'</code>\n\n</docgen-api>\n\n## Platform Support\n\nKeep the following platform-specific behavior in mind:\n\n- **Status**: On Android, the `status` returned by `composeMail(...)` is always `unknown` because the mail intent does not return a reliable result. On iOS, the real status is returned via the delegate. On the web, the status is always `unknown`.\n- **HTML body**: On Android, the `isHtml` option is best-effort because many mail apps ignore HTML content. On the web, HTML is not supported at all.\n- **No mail account**: On iOS, `composeMail(...)` rejects as unavailable if no mail account is configured. Use `canComposeMail(...)` to check upfront.\n\n## FAQ\n\n### How is this plugin different from other similar plugins?\n\nIt opens the native email composer prefilled with recipients, subject, body, and CC and BCC, and supports file attachments and HTML bodies through a fully typed API on Android, iOS, and the Web. A `canComposeMail()` check lets you confirm the device can actually send mail before you show the feature, and the user always stays in control of sending. If you only need a plain `mailto:` link, a simpler approach is fine; if you need attachments, rich bodies, and reliable capability detection, this plugin is built for exactly that.\n\n### Does the plugin send the email itself?\n\nNo, the plugin only opens the native email composer prefilled with the provided data. The user reviews the email and decides whether to send it. The email is always sent through the user's own mail app and account.\n\n### Why is the status always `unknown` on Android?\n\nOn Android, the mail intent does not return a reliable result, so the `status` returned by `composeMail` is always `unknown`. On iOS, the real status (`sent`, `saved`, or `canceled`) is returned. On the web, the status is always `unknown` as well.\n\n### Why does `composeMail` reject on iOS?\n\nOn iOS, `composeMail` rejects as unavailable if no mail account is configured on the device. Use `canComposeMail` upfront to check whether the device is able to compose and send emails, and only show your email feature if it returns `true`.\n\n### Why does attaching a file fail on Android?\n\nOn Android, the plugin shares attachments through the [`FileProvider`](https://developer.android.com/reference/androidx/core/content/FileProvider) that Capacitor already registers for your app. If the directory a file is stored in is not covered by the `res/xml/file_paths.xml` resource of your app, `composeMail` rejects with an error. See the [Installation](#installation) section for details.\n\n### How do I attach a file that is not stored on the file system?\n\nProvide the content of the file as a base64 string using the `data` property of an attachment and set the `name` property to the file name including the file extension. This is useful for files that only exist in memory, for example a log file that you keep in IndexedDB. The plugin takes care of handing the content over to the mail app, so you do not need to write the file to the file system yourself.\n\n### Why does my app crash when attaching large files?\n\nAttachments provided via the `data` property are loaded into memory as a base64 string, which can lead to out of memory (OOM) crashes for large files. Whenever the file is available on the file system, use the `path` property instead.\n\n### Are attachments supported on the web?\n\nNo, on the web the plugin builds a `mailto:` URL, which cannot carry attachments, so `composeMail` rejects if attachments are provided. Also keep in mind that HTML bodies are not supported on the web and long bodies may be truncated due to the URL length limit.\n\n### Can I send HTML emails?\n\nYes, set the `isHtml` option to `true` to have the body interpreted as HTML. On iOS, this is fully supported. On Android, it is best-effort because many mail apps ignore HTML content. On the web, HTML is not supported and the body is always sent as plain text.\n\n## Related Plugins\n\n- [File Picker](https://capawesome.io/docs/sdks/capacitor/file-picker/): Let the user select files to attach to an email.\n- [Phone Dialer](https://capawesome.io/docs/sdks/capacitor/phone-dialer/): Open the native phone dialer prefilled with a phone number.\n- [SMS Composer](https://capawesome.io/docs/sdks/capacitor/sms-composer/): Open the native SMS composer prefilled with recipients and a message body.\n\n## Newsletter\n\nStay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/mail-composer/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-plugins/blob/main/packages/mail-composer/LICENSE).\n","readmeFilename":"README.md"}