Skip to main content
Glama

export

Export Outlook emails in various formats including single messages, batches, or entire conversations, with options for attachments and multiple output types.

Instructions

Export emails. target=message exports one email. target=messages batch-exports. target=conversation exports a thread. target=mime gets raw MIME/EML content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetNoExport target (default: message)
idNoEmail ID (target=message/mime, required)
formatNoExport format (target=message: mime/eml/markdown/json/csv, target=conversation: eml/mbox/markdown/json/html/csv)
savePathNoFile path or directory (target=message)
includeAttachmentsNoInclude attachments (default: true for single, false for batch)
emailIdsNoEmail IDs to export (target=messages)
searchQueryNoSearch query to find emails (target=messages, alternative to emailIds)
outputDirNoOutput directory (target=messages/conversation, required)
conversationIdNoConversation ID (target=conversation, required)
orderNoMessage order (target=conversation, default: chronological)
headersOnlyNoMIME headers only, no body (target=mime)
base64NoReturn base64 encoded (target=mime)
maxSizeNoMax content size in bytes (target=mime, default: 1MB)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/littlebearapps/outlook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server