@framers/agentos-ext-channel-email 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +23 -0
- package/manifest.json +27 -0
- package/package.json +37 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Framers
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
package/manifest.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://agentos.sh/schemas/extension-manifest-v1.json",
|
|
3
|
+
"id": "com.framers.channels.email",
|
|
4
|
+
"name": "Email Channel Extension",
|
|
5
|
+
"version": "0.1.0",
|
|
6
|
+
"description": "Bidirectional email integration — send, read, search, extract verification codes, and reply to email threads via SMTP and IMAP.",
|
|
7
|
+
"categories": ["channel", "communication"],
|
|
8
|
+
"platforms": ["email"],
|
|
9
|
+
"sdk": "nodemailer",
|
|
10
|
+
"extensions": [
|
|
11
|
+
{ "kind": "tool", "id": "emailSend", "displayName": "Send Email" },
|
|
12
|
+
{ "kind": "tool", "id": "emailRead", "displayName": "Read Inbox" },
|
|
13
|
+
{ "kind": "tool", "id": "emailSearch", "displayName": "Search Emails" },
|
|
14
|
+
{ "kind": "tool", "id": "emailExtractCodes", "displayName": "Extract Verification Codes" },
|
|
15
|
+
{ "kind": "tool", "id": "emailReply", "displayName": "Reply to Email" },
|
|
16
|
+
{ "kind": "messaging-channel", "id": "emailChannel", "displayName": "Email Channel Adapter" }
|
|
17
|
+
],
|
|
18
|
+
"requiredSecrets": ["email.smtpHost", "email.smtpUser", "email.smtpPassword"],
|
|
19
|
+
"optionalSecrets": ["email.imap.host", "email.imap.user", "email.imap.password"],
|
|
20
|
+
"features": [
|
|
21
|
+
"Send emails with text, HTML, and attachments via SMTP",
|
|
22
|
+
"Read inbox and other IMAP folders",
|
|
23
|
+
"Search emails by query, folder, and date range",
|
|
24
|
+
"Extract verification codes and OTPs from email bodies",
|
|
25
|
+
"Reply to email threads maintaining conversation context"
|
|
26
|
+
]
|
|
27
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@framers/agentos-ext-channel-email",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Email channel adapter for AgentOS — send, read, search, extract codes, and reply to emails via SMTP/IMAP.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"manifest.json"
|
|
10
|
+
],
|
|
11
|
+
"peerDependencies": {
|
|
12
|
+
"@framers/agentos": "^0.1.0"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"nodemailer": "^6.9.0",
|
|
16
|
+
"imapflow": "^1.0.0"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/node": "^20.0.0",
|
|
20
|
+
"@types/nodemailer": "^6.4.0",
|
|
21
|
+
"typescript": "^5.0.0",
|
|
22
|
+
"vitest": "^1.0.0",
|
|
23
|
+
"@framers/agentos": "0.1.6"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "https://github.com/framersai/agentos-extensions",
|
|
28
|
+
"directory": "registry/curated/channels/email"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc",
|
|
32
|
+
"dev": "tsc --watch",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"test:watch": "vitest watch",
|
|
35
|
+
"clean": "rm -rf dist"
|
|
36
|
+
}
|
|
37
|
+
}
|