Spacemail by NWD

v1.0.1
design.norwichwebsite/spacemail Checked 2 days ago Published 1 month ago

Check, 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.

ParameterTypeDescription
accountstringMailbox 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?".

ParameterTypeDescription
accountstringMailbox to check. Leave out (or use "all") to check every mailbox.
limitintegerMaximum messages per mailbox. Defaults to 15.
sincestringOnly messages received on or after this date: "today", "yesterday", "7d" or a date like 2026-11-01.
unread_onlybooleanOnly 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.

ParameterTypeDescription
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
beforestringBefore this date (same formats as since).
flagged_onlybooleanOnly flagged/starred messages.
folderstringFolder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders.
fromstringSender name or address contains this text.
include_previewsbooleanInclude a short preview of each message. Turn off for faster large searches.
limitintegerMaximum results. Defaults to 20.
sincestringOn or after this date: "today", "yesterday", "30d" or 2026-10-01.
subjectstringSubject contains this text.
textstringMessage body contains this text.
tostringRecipient address contains this text.
unread_onlybooleanOnly 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.

ParameterTypeDescription
id *integerThe message id shown in search or inbox results (unique within its folder).
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
folderstringFolder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders.
mark_as_readbooleanAlso 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.

ParameterTypeDescription
accountstringWhich 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.

ParameterTypeDescription
body *stringThe message, as plain text. Include a sign-off if appropriate.
subject *stringSubject line.
to *arrayRecipient email addresses, e.g. ["Jane Smith <jane@example.com>"].
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
bccarrayBcc email addresses, e.g. ["Jane Smith <jane@example.com>"].
ccarrayCc 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.

ParameterTypeDescription
body *stringYour reply, as plain text. The original message is quoted underneath automatically.
id *integerId of the message being replied to.
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
folderstringFolder to look in. Defaults to the inbox. Accepts "inbox", "sent", "drafts", "trash", "spam", "archive" or an exact folder name from list_folders.
reply_allbooleanAlso 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.

ParameterTypeDescription
action *stringWhat to do to the messages.
ids *arrayMessage ids from search or inbox results, all from the same folder.
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
folderstringFolder 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.

ParameterTypeDescription
destination *stringWhere to move them: "archive", "trash", "spam", "inbox" or an exact folder name.
ids *arrayMessage ids from search or inbox results, all from the same folder.
accountstringWhich mailbox to use, by its name or email address. Configured: none configured yet. Required when more than one is set up.
folderstringFolder the messages are in now. Defaults to the inbox.