agentmail 0.1.19 → 0.2.1

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.
Files changed (43) hide show
  1. package/README.md +20 -0
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/api/resources/attachments/types/AttachmentResponse.d.ts +13 -0
  4. package/dist/cjs/api/resources/attachments/types/AttachmentResponse.js +3 -0
  5. package/dist/cjs/api/resources/attachments/types/index.d.ts +1 -0
  6. package/dist/cjs/api/resources/attachments/types/index.js +1 -0
  7. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.d.ts +9 -1
  8. package/dist/cjs/api/resources/inboxes/resources/messages/client/Client.js +18 -2
  9. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.d.ts +9 -1
  10. package/dist/cjs/api/resources/inboxes/resources/threads/client/Client.js +18 -2
  11. package/dist/cjs/api/resources/pods/resources/threads/client/Client.d.ts +9 -1
  12. package/dist/cjs/api/resources/pods/resources/threads/client/Client.js +18 -2
  13. package/dist/cjs/api/resources/threads/client/Client.d.ts +8 -1
  14. package/dist/cjs/api/resources/threads/client/Client.js +17 -2
  15. package/dist/cjs/serialization/resources/attachments/types/AttachmentResponse.d.ts +22 -0
  16. package/dist/cjs/serialization/resources/attachments/types/AttachmentResponse.js +54 -0
  17. package/dist/cjs/serialization/resources/attachments/types/index.d.ts +1 -0
  18. package/dist/cjs/serialization/resources/attachments/types/index.js +1 -0
  19. package/dist/cjs/version.d.ts +1 -1
  20. package/dist/cjs/version.js +1 -1
  21. package/dist/esm/BaseClient.mjs +2 -2
  22. package/dist/esm/api/resources/attachments/types/AttachmentResponse.d.mts +13 -0
  23. package/dist/esm/api/resources/attachments/types/AttachmentResponse.mjs +2 -0
  24. package/dist/esm/api/resources/attachments/types/index.d.mts +1 -0
  25. package/dist/esm/api/resources/attachments/types/index.mjs +1 -0
  26. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.d.mts +9 -1
  27. package/dist/esm/api/resources/inboxes/resources/messages/client/Client.mjs +18 -2
  28. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.d.mts +9 -1
  29. package/dist/esm/api/resources/inboxes/resources/threads/client/Client.mjs +18 -2
  30. package/dist/esm/api/resources/pods/resources/threads/client/Client.d.mts +9 -1
  31. package/dist/esm/api/resources/pods/resources/threads/client/Client.mjs +18 -2
  32. package/dist/esm/api/resources/threads/client/Client.d.mts +8 -1
  33. package/dist/esm/api/resources/threads/client/Client.mjs +17 -2
  34. package/dist/esm/serialization/resources/attachments/types/AttachmentResponse.d.mts +22 -0
  35. package/dist/esm/serialization/resources/attachments/types/AttachmentResponse.mjs +18 -0
  36. package/dist/esm/serialization/resources/attachments/types/index.d.mts +1 -0
  37. package/dist/esm/serialization/resources/attachments/types/index.mjs +1 -0
  38. package/dist/esm/version.d.mts +1 -1
  39. package/dist/esm/version.mjs +1 -1
  40. package/dist/llms-full.txt +1905 -131
  41. package/dist/llms.txt +3 -0
  42. package/package.json +1 -1
  43. package/reference.md +4 -4
package/dist/llms.txt CHANGED
@@ -14,18 +14,21 @@
14
14
  - [Pods](https://docs.agentmail.to/documentation/core-concepts/pods.mdx): Learn how to use pods for multi-tenant email management
15
15
  - [Replit](https://docs.agentmail.to/integrations/replit.mdx): AgentMail's Replit integration
16
16
  - [Guide: Sending & Receiving Email](https://docs.agentmail.to/sending-receiving-email.mdx): A step-by-step guide to the practical workflow of sending initial emails and handling replies to have a full conversation.
17
+ - [IMAP & SMTP](https://docs.agentmail.to/imap-smtp.mdx): Configure IMAP and SMTP to access your AgentMail inboxes using email clients or programmatic access.
17
18
  - [Using Custom Domains](https://docs.agentmail.to/custom-domains.mdx): A step-by-step guide to configuring your custom domain with AgentMail for enhanced branding and trust.
18
19
  - [Managing Your Domains](https://docs.agentmail.to/managing-domains.mdx): Learn how to manage your custom domains effectively using AgentMail's API for enhanced deliverability and reputation management.
19
20
  - [Integrate LiveKit Agents](https://docs.agentmail.to/integrate-livekit-agents.mdx): A step-by-step guide to integrate with the LiveKit Agents SDK.
20
21
  - [Webhooks Overview](https://docs.agentmail.to/overview.mdx): Learn how to use Webhooks to build responsive, event-driven email agents with AgentMail.
21
22
  - [Webhook Events](https://docs.agentmail.to/events.mdx)
22
23
  - [Webhook Setup Guide](https://docs.agentmail.to/webhook-setup.mdx): A comprehensive guide to setting up webhooks with ngrok and AgentMail, including account creation, inbox setup, and code examples.
24
+ - [Verifying Webhooks](https://docs.agentmail.to/webhook-verification.mdx): Learn how to verify webhook signatures to secure your webhook endpoints and prevent spoofed requests.
23
25
  - [WebSockets](https://docs.agentmail.to/websockets.mdx): Learn how to use WebSockets for instant email notifications without webhooks or polling.
24
26
  - [Email Deliverability](https://docs.agentmail.to/email-deliverability.mdx): Learn the strategies and best practices for maximizing your email deliverability with AgentMail.
25
27
  - [Idempotent Requests](https://docs.agentmail.to/idempotency.mdx): A guide to using the client_id parameter in AgentMail to prevent duplicate resources and safely retry API requests.
26
28
  - [Example: Event-Driven Agent](https://docs.agentmail.to/webhook-agent.mdx): A step-by-step guide to building a sophisticated agent that performs proactive outreach and uses webhooks for inbound message processing.
27
29
  - [Auto-Reply Email Agent](https://docs.agentmail.to/documentation/examples/auto-reply-agent.mdx): Build a simple agent that automatically responds to incoming emails with personalized messages
28
30
  - [Smart Email Labeling Agent](https://docs.agentmail.to/documentation/examples/smart-labeling-agent.mdx): Build an AI-powered agent that automatically classifies and labels incoming emails across multiple dimensions
31
+ - [Sales Agent with WebSocket](https://docs.agentmail.to/sales-agent-websocket.mdx): A step-by-step guide to building an AI-powered sales agent that uses WebSocket for real-time email processing without polling or webhooks.
29
32
  - [Live AgentMail Examples](https://docs.agentmail.to/documentation/examples/live-agent-mail-examples.mdx)
30
33
  - [Frequently Asked Questions (FAQ)](https://docs.agentmail.to/faq.mdx): Find answers to common questions about AgentMail, from core concepts to best practices and security.
31
34
  - [Email Reply Extraction with Talon](https://docs.agentmail.to/talon-reply-extraction.mdx): Learn how to use Talon to extract new content from email replies, removing quoted text with 93.8% accuracy.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentmail",
3
- "version": "0.1.19",
3
+ "version": "0.2.1",
4
4
  "private": false,
5
5
  "repository": "github:agentmail-to/agentmail-node",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -1673,7 +1673,7 @@ await client.inboxes.messages.get("inbox_id", "message_id");
1673
1673
  </dl>
1674
1674
  </details>
1675
1675
 
1676
- <details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">getAttachment</a>(inbox_id, message_id, attachment_id) -> core.BinaryResponse</code></summary>
1676
+ <details><summary><code>client.inboxes.messages.<a href="/src/api/resources/inboxes/resources/messages/client/Client.ts">getAttachment</a>(inbox_id, message_id, attachment_id) -> AgentMail.AttachmentResponse</code></summary>
1677
1677
  <dl>
1678
1678
  <dd>
1679
1679
 
@@ -2223,7 +2223,7 @@ await client.inboxes.threads.get("inbox_id", "thread_id");
2223
2223
  </dl>
2224
2224
  </details>
2225
2225
 
2226
- <details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">getAttachment</a>(inbox_id, thread_id, attachment_id) -> core.BinaryResponse</code></summary>
2226
+ <details><summary><code>client.inboxes.threads.<a href="/src/api/resources/inboxes/resources/threads/client/Client.ts">getAttachment</a>(inbox_id, thread_id, attachment_id) -> AgentMail.AttachmentResponse</code></summary>
2227
2227
  <dl>
2228
2228
  <dd>
2229
2229
 
@@ -3088,7 +3088,7 @@ await client.pods.threads.get("pod_id", "thread_id");
3088
3088
  </dl>
3089
3089
  </details>
3090
3090
 
3091
- <details><summary><code>client.pods.threads.<a href="/src/api/resources/pods/resources/threads/client/Client.ts">getAttachment</a>(pod_id, thread_id, attachment_id) -> core.BinaryResponse</code></summary>
3091
+ <details><summary><code>client.pods.threads.<a href="/src/api/resources/pods/resources/threads/client/Client.ts">getAttachment</a>(pod_id, thread_id, attachment_id) -> AgentMail.AttachmentResponse</code></summary>
3092
3092
  <dl>
3093
3093
  <dd>
3094
3094
 
@@ -3252,7 +3252,7 @@ await client.threads.get("thread_id");
3252
3252
  </dl>
3253
3253
  </details>
3254
3254
 
3255
- <details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">getAttachment</a>(thread_id, attachment_id) -> core.BinaryResponse</code></summary>
3255
+ <details><summary><code>client.threads.<a href="/src/api/resources/threads/client/Client.ts">getAttachment</a>(thread_id, attachment_id) -> AgentMail.AttachmentResponse</code></summary>
3256
3256
  <dl>
3257
3257
  <dd>
3258
3258