Skip to main content
Glama

Read an AgentMail attachment

read_agentmail_attachment
Read-only

Open one attachment of an AgentMail message and return what is in it. Text, CSV, JSON, HTML and code files come back as themselves; images come back as pictures the assistant can look at; PDFs, Word files and other documents come back as the text AgentMail extracted from them, when it extracted any. Up to 10 MB. Get attachmentId from get_agentmail_message or get_agentmail_thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mailboxYesAddress of the connected AgentMail inbox to act on. Call list_authorized_mailboxes to see available options.
messageIdYes
attachmentIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources