Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard

Email Archive

⚡ Built-in — Platform Built-in

Autonomous, searchable email archives. Create archives and link mailboxes (local or external) to them as context sources.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (7)

POST create-archive

Create a new autonomous email archive owned by an email address.

Field Type Required Description
name string ✓ Yes Human-friendly archive name (e.g. "M25 mail").
owner_email string ✓ Yes Owner email address.
description string No Optional description of what this archive holds.
GET list-archives

List archives with their source counts. Optionally filter by owner email.

Field Type Required Description
owner_email string No Filter archives by owner email.
POST deactivate-archive

Deactivate an archive. Stops syncing into it; archived messages are preserved.

Field Type Required Description
archive_id integer ✓ Yes Archive ID to deactivate.
POST register-external-source

Register an external mail source (Gmail, Outlook, custom IMAP) for archiving. Credentials are stored encrypted. Link it to an archive separately with link-source.

Field Type Required Description
email string ✓ Yes Mailbox email address.
imap_host string ✓ Yes IMAP server hostname (e.g. "imap.gmail.com").
imap_port integer No IMAP port (default 993 for SSL).
encryption string No none, ssl, or starttls (default ssl).
auth_method string No password or oauth (default password).
credential string ✓ Yes Password or OAuth token — stored encrypted.
folders array No Folders to sync (default ["INBOX","Sent"]).
GET list-sources

List all archive sources (mailboxes), or the sources linked to a specific archive. Never returns credentials.

Field Type Required Description
archive_id integer No If given, list only sources linked to this archive.

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
create-archive email_archive_create_archive
list-archives email_archive_list_archives
deactivate-archive email_archive_deactivate_archive
register-external-source email_archive_register_external_source
list-sources email_archive_list_sources
link-source email_archive_link_source
unlink-source email_archive_unlink_source
← Back to all integrations