Skip to main content
Glama
leeguooooo
by leeguooooo

get_email_headers

Extract email headers like From, To, Subject, and Date without downloading the full message body to analyze metadata efficiently.

Instructions

Fetch only email headers (From, To, Subject, Date, Message-ID, etc.) without downloading the body. account_id recommended so the UID lookup hits the right mailbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idYesEmail ID to get headers from
folderNoEmail folder (default: 'INBOX')INBOX
account_idNoSpecific account ID (optional)
headersNoSpecific headers to retrieve (optional, default: common headers like From, To, Subject, Date, Message-ID)

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/leeguooooo/email-mcp-service'

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