You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Sending attachments:** Use the `--attach` flag (repeatable) with `email send` or `email reply` to attach local files. The CLI reads each file, detects its MIME type from the extension, and base64-encodes the content automatically.
**Receiving attachments:** When listing emails (`email inbox`, `email search`) or reading a message (`email read`), attachment metadata (filename, MIME type, size) is displayed automatically. Attachment content is **not** included inline — use `email get-attachment` to download.
319
+
320
+
```bash
321
+
# Download a specific attachment by index (0-based)
The `email_send_email` and `email_reply` MCP tools accept an optional `attachments` array:
328
+
329
+
| Field | Type | Description |
330
+
|-------|------|-------------|
331
+
|`filename`| string | Display name (e.g. `"report.pdf"`) |
332
+
|`contentType`| string | MIME type (e.g. `"application/pdf"`) |
333
+
|`content`| string | File bytes, base64-encoded |
334
+
335
+
The `email_get_attachment` MCP tool accepts `messageId` (string) and `attachmentIndex` (zero-based integer) and returns the file content as base64.
336
+
337
+
**Limits:** Total message size (body + all attachments) must not exceed 10 MB. Base64 encoding adds ~33% overhead, so the effective raw payload is ~7.5 MB per message.
338
+
303
339
### Phone
304
340
305
341
Register a phone number to send/receive SMS and make/receive voice calls. The phone command is async — calls and inbound messages arrive asynchronously, so check `phone calls` and `phone sms` for updates.
0 commit comments