Spacemail by NWD
v1.0.1Check, search, read and draft replies to Spacemail (Spaceship) emails, across several mailboxes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_mailboxes List Spacemail mailboxes
Shows which Spacemail mailboxes are connected and what this extension is allowed to do. Doesn't contact the mail server.
test_connection Test Spacemail connection
Logs in to each configured mailbox to check the settings work, and reports inbox counts. Use when setting up or when something fails.
| Parameter | Type | Description |
|---|---|---|
account | string | Mailbox to test. Leave out to test all of them. |
check_inbox Check inbox
Quick look at what's arrived: lists recent inbox messages across all mailboxes (or one), newest first, with a short preview. Best tool for "has anything come in today?" or "any new emails in the support inbox?".
| Parameter | Type | Description |
|---|---|---|
account | string | Mailbox to check. Leave out (or use "all") to check every mailbox. |
limit | integer | Maximum messages per mailbox. Defaults to 15. |
since | string | Only messages received on or after this date: "today", "yesterday", "7d" or a date like 2026-11-01. |
unread_only | boolean | Only show unread messages. Defaults to true. |
search_emails Search emails
Searches one mailbox folder by sender, recipient, subject, words in the message, date range or read status. Results are newest first.
| Parameter | Type | Description |
|---|---|---|
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
before | string | Before this date (same formats as since). |
flagged_only | boolean | Only flagged/starred messages. |
folder | string | Folder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders. |
from | string | Sender name or address contains this text. |
include_previews | boolean | Include a short preview of each message. Turn off for faster large searches. |
limit | integer | Maximum results. Defaults to 20. |
since | string | On or after this date: "today", "yesterday", "30d" or 2026-10-01. |
subject | string | Subject contains this text. |
text | string | Message body contains this text. |
to | string | Recipient address contains this text. |
unread_only | boolean | Only unread messages. |
read_email Read email
Opens one message and returns its full text, sender, recipients, date and attachment names. Doesn't mark it as read unless asked.
| Parameter | Type | Description |
|---|---|---|
id * | integer | The message id shown in search or inbox results (unique within its folder). |
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
folder | string | Folder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders. |
mark_as_read | boolean | Also mark the message as read. Defaults to false so the user still sees it as new. |
list_folders List folders
Lists the folders in a mailbox with message and unread counts.
| Parameter | Type | Description |
|---|---|---|
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
create_draft Create draft
Writes a new email and saves it to the mailbox's Drafts folder. Nothing is sent: the user reviews and sends it from Spacemail webmail or their mail app.
| Parameter | Type | Description |
|---|---|---|
body * | string | The message, as plain text. Include a sign-off if appropriate. |
subject * | string | Subject line. |
to * | array | Recipient email addresses, e.g. ["Jane Smith <jane@example.com>"]. |
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
bcc | array | Bcc email addresses, e.g. ["Jane Smith <jane@example.com>"]. |
cc | array | Cc email addresses, e.g. ["Jane Smith <jane@example.com>"]. |
draft_reply Draft a reply
Writes a reply to a message and saves it to Drafts, correctly threaded (Re: subject, quoted original, reply headers). Nothing is sent.
| Parameter | Type | Description |
|---|---|---|
body * | string | Your reply, as plain text. The original message is quoted underneath automatically. |
id * | integer | Id of the message being replied to. |
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
folder | string | Folder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders. |
reply_all | boolean | Also include everyone else who was on the original email. |
update_emails Mark or flag emails
Marks messages as read or unread, or flags/unflags them.
| Parameter | Type | Description |
|---|---|---|
action * | string | What to do to the messages. |
ids * | array | Message ids from search or inbox results, all from the same folder. |
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
folder | string | Folder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders. |
move_emails Move emails
Moves messages to another folder, e.g. "archive", "trash", "spam", "inbox" or a named folder. Deleting means moving to Trash; this extension never permanently deletes anything.
| Parameter | Type | Description |
|---|---|---|
destination * | string | Where to move them: "archive", "trash", "spam", "inbox" or an exact folder name. |
ids * | array | Message ids from search or inbox results, all from the same folder. |
account | string | Which mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up. |
folder | string | Folder the messages are in now. Defaults to the inbox. |