Skip to main content
GET
Inboxes - Get Raw Message
返回单封邮件的 RFC 822 原始源,含 message_id、size、短时效 download_url 和 expires_at。字节内容不内联,需在过期前去取。用于看邮件头、DKIM 或精确 MIME 结构;要解析后的正文和 HTML 用 get_agentmail_inbox_message。

示例

第一次用? 把任意 MCP 客户端指向 https://mcp.aisa.one/mcp —— Claude Code、 Codex、Cursor、VS Code 都可以。鉴权走 OAuth:客户端打开浏览器,你点一次 Allow,不需要粘贴任何 key。各客户端的具体命令和每次调用的价格见 aisa.one/zh-cn/mcp。
在你的 agent 里把这个端点跑起来 →

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

inbox_id
string
必填

收件箱的 ID。

message_id
string
必填

消息 ID。

响应

状态码为 200 的响应

CloudFront signed URL to download the raw .eml file.

message_id
string
必填

消息的 ID。

size
integer
必填

原始消息的大小(以字节为单位)。

download_url
string
必填

CloudFront signed URL to download the raw message. Expires at expires_at.

expires_at
string<date-time>
必填

下载 URL 的过期时间。