nornweave-api
БесплатноБез исполняемых скриптовНе проверенGive AI agents their own email inboxes using the NornWeave API. Use when building email agents, sending/receiving emails programmatically, managing inboxes…
от DataCovey★ 31 звезда на GitHubОб этом скилле
NornWeave API
NornWeave is a self-hosted, open-source Inbox-as-a-Service API for AI agents. It provides a stateful email layer (Inboxes, Threads, History) and an intelligent layer (Markdown parsing, Semantic Search) optimized for LLMs.
Installation
# Python client
pip install nornweave-client
Setup
from nornweave_client import NornWeave
# Sync client
client = NornWeave(base_url="http://localhost:8000")
# Or async client
from nornweave_client import AsyncNornWeave
client = AsyncNornWeave(base_url="http://localhost:8000")
Inboxes
Create scalable inboxes on-demand. Each inbox has a unique email address based on your configured domain.
# Create inbox with username and display name
inbox = client.inboxes.create(
name="Support",
email_username="support"
)
# Result: [email protected]
# List all inboxes (paginated)
for inbox in client.inboxes.list():
print(inbox.email_address)
# Get inbox by ID
inbox = client.inboxes.get(inbox_id="inbox-uuid")
# Delete inbox
client.inboxes.delete(inbox_id="inbox-uuid")
Async Usage
# Create inbox
inbox = await client.inboxes.create(
name="Support",
email_username="support"
)
# List inboxes with async iteration
async for inbox in client.inboxes.list():
print(inbox.email_address)
# Get and delete
inbox = await client.inboxes.get(inbox_id="inbox-uuid")
await client.inboxes.delete(inbox_id="inbox-uuid")
Messages
Send and retrieve messages. NornWeave automatically converts content to Markdown for LLM consumption.
# Send message (body is Markdown)
response = client.messages.send(
inbox_id="inbox-uuid",
to=["[email protected]"],
subject="Hello from my AI agent",
body="# Welcome\n\nThis is a **markdown** email."
)
print(f"Message ID: {response.id}, Status: {response.status}")
# Reply to existing thread
response = client.messages.send(
inbox_id="inbox-uuid",
to=["[email protected]"],
subject="Re: Hello",
body="Thanks for your message!",
reply_to_thread_id="thread-uuid"
)
# List messages for an inbox (paginated)
for message in client.messages.list(inbox_id="inbox-uuid"):
print(f"[{message.direction}] {message.content_clean[:100]}")
# Get single message by ID
message = client.messages.get(message_id="message-uuid")
print(message.content_clean) # LLM-ready markdown content
Async Usage
# Send message
response = await client.messages.send(
inbox_id="inbox-uuid",
to=["[email protected]"],
subject="Hello",
body="Message content in **Markdown**"
)
# List messages
async for message in client.messages.list(inbox_id="inbox-uuid"):
print(message.content_clean)
Threads
Threads group related messages in conversations. Get thread details with LLM-ready conversation history.
# List threads for an inbox (sorted by most recent activity)
for thread in client.threads.list(inbox_id="inbox-uuid"):
print(f"{thread.subject} - Last activity: {thread.last_message_at}")
# Get thread with full conversation history (LLM-ready format)
thread = client.threads.get(thread_id="thread-uuid")
print(f"Subject: {thread.subject}")
# Messages are formatted for LLM context
for msg in thread.messages:
print(f"[{msg.role}] {msg.author}: {msg.content}")
# role is "user" for inbound, "assistant" for outbound
Thread Response Format
The thread detail response is optimized for LLM context windows:
{
"id": "thread-uuid",
"subject": "Question about my account",
"messages": [
{
"role": "user", # Inbound messages
"author": "[email protected]",
"content": "# My Question\n\nI need help with...", # Markdown
"timestamp": "2026-01-15T10:30:00Z"
},
{
"role": "assistant", # Outbound messages
"author": "[email protected]",
"content": "Thank you for reaching out...",
"timestamp": "2026-01-15T10:45:00Z"
}
]
}
Async Usage
# List threads
async for thread in client.threads.list(inbox_id="inbox-uuid"):
print(thread.subject)
# Get thread with messages
thread = await client.threads.get(thread_id="thread-uuid")
Search
Search messages by content within an inbox.
# Search messages (returns paginated results)
for result in client.search.query(
inbox_id="inbox-uuid",
query="password reset"
):
print(f"Thread: {result.thread_id}")
print(f"Content: {result.content_clean[:200]}")
# Get full search response with count
response = client.search.query_raw(
inbox_id="inbox-uuid",
query="invoice",
limit=10
)
print(f"Found {response.count} messages")
for item in response.items:
print(item.content_clean)
Async Usage
# Search with async iteration
async for result in client.search.query(
inbox_id="inbox-uuid",
query="urgent"
):
Установить nornweave-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nornweave-api?
Give AI agents their own email inboxes using the NornWeave API. Use when building email agents, sending/receiving emails programmatically, managing inboxes, retrieving threads, searching messages, or integrating with email providers (Mailgun, SES, SendGrid, Resend). NornWeave provides LLM-ready markdown parsing and conversation threading.
Как установить скилл nornweave-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nornweave-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic