hypermail-mcp 0.4.1 → 0.4.3

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/README.md CHANGED
@@ -3,14 +3,18 @@
3
3
  A **Model Context Protocol** server that lets an agent operate any of the user's
4
4
  inboxes through a single, unified tool surface.
5
5
 
6
+ > **v0.4.3** — Upgraded Zod to v4.4.3. Fixed MCP SDK v1.29.0 compatibility
7
+ > by wrapping all tool schemas in `z.object()` and replacing discriminated
8
+ > union output schemas that caused `validateToolOutput` crashes.
9
+
6
10
  The agent doesn't care whether an address is a work Outlook account, a personal
7
11
  Microsoft account, or (soon) a personal IMAP mailbox — it just calls
8
12
  `list_emails`, `search_emails`, `read_email`, `send_email` and passes the email
9
13
  address as the `account` argument. The server routes to the right backend.
10
14
 
11
15
  **v1 status:** Outlook / Microsoft 365 (personal + work) fully supported via
12
- Microsoft Graph. IMAP and Gmail are stubbed at the provider interface so they
13
- can be plugged in without touching tool definitions.
16
+ Microsoft Graph. IMAP (any IMAP server) supported via `imapflow` + `nodemailer`.
17
+ Gmail supported via Google OAuth device-code flow.
14
18
 
15
19
  ## Why
16
20
 
@@ -152,10 +156,9 @@ account store.
152
156
 
153
157
  ## Roadmap
154
158
 
155
- - IMAP provider (interface already in place at `src/providers/imap/index.ts`)
156
- — `imapflow` + `nodemailer`, password/app-password stored encrypted.
157
- - Gmail provider via Google OAuth.
158
159
  - Threading / conversations.
160
+ - Calendar integration.
161
+ - Webhook / push notifications for new mail.
159
162
 
160
163
  ## Project layout
161
164
 
@@ -172,7 +175,12 @@ src/
172
175
  auth.ts # msal-node device-code flow
173
176
  client.ts # @microsoft/microsoft-graph-client factory
174
177
  index.ts # OutlookProvider implementation
175
- imap/index.ts # stub
178
+ imap/index.ts # IMAP provider (imapflow + nodemailer)
179
+ gmail/
180
+ auth.ts # Google OAuth device-code flow
181
+ client.ts # Gmail API (googleapis)
182
+ index.ts # GmailProvider implementation
183
+ shared/ # Shared utilities across providers
176
184
  tools/index.ts # MCP tool registrations
177
185
  ```
178
186